Copy link to clipboard
Copied
My old query dont work anymore. Dont upgrade guys!
This in version 14.0.1 works fine in 14.0.2 finds nothing.
((?<=\<[a|i|o|u|w|z|A|I|O|U|W|Z]) )
Fix it ASAP.
Hello All,
The fix of the issue is now available and can be downloaded using the link below.
https://helpx.adobe.com/indesign/kb/search-issue-in-long-documents.html
You may click on the link and follow the quick steps to fix the issue in latest id 14.0.2 update.
Let us know if you face any problem while using the link.
Sanyam Talwar
Copy link to clipboard
Copied
If this is to find any of these characters followed by a single space, you could make it a bit simpler (and just maybe it will work again! -- although there is nothing really "wrong" with yours).
1. Throw away the outer parentheses. You don't need them.
2. Don't combine […] with the OR bar | unless you literally want to find the bar as well! You don't need OR inside a custom single character class; [abc] matches one of these characters, and [a|b|c] will thus match "a","b", "c", or "|".
3. Try \b instead of \<. They do the same thing, but still. It might be "the" thing that got broken.
4. Try without the lookbehind. If even the basic
\b[aiouwzAIOUWZ]\s
does not work, then we have serious problems. If it does work, you can next try
\b[aiouwAIOW]\K\s
where the \K does what your lookbehind does: it "forgets" the match thus far made before continuing with the space character.
Copy link to clipboard
Copied
I am trying to do a simple GREP search "National Chung Cheng University$" (and without the end of paragraph) and it will not find it going forward, but going backward it works.
It does find in the text search.
Copy link to clipboard
Copied
Hi,
Thanks for mentioning. We came to know of a known bug with 14.0.2 version of InDesign wherein the GREP fails to find matches.
Still can you:
1. Mail the sample at amaarora@adobe.com?
2. If you cannot share, then can you confirm if running the GREP query on text ranges of small size say (10K characters), helps InDesign find matches?
In other words, does GREP works for text with fewer characters say 10K?
I also recommend you report the issue at Adobe InDesign Feedback
-Aman
Copy link to clipboard
Copied
Thank all for reply.
Im working on movie to show you how its look on 14.0.1 and 14.0.2. I will send you this with all my GREP files. I cant send you text because its copyright. Im working on books so text is always above +400K.
Copy link to clipboard
Copied
Adiitional to the post written by [Jongware]​
(?i)\b[aiouwz]\K\h
Works for me as well under Windows 10 and InDesign 14.0.2
(forward and backwards and furthermore as Grep style too)
Copy link to clipboard
Copied
I've got a FindChangeByList.jsx script containing GREP that fails since upgrading.
I can confirm it still works on small selections of text but not on a whole document or story.
Please fix ASAP Adobe!
Copy link to clipboard
Copied
I think Adobe spoiled something. After the last ID update, GREP can find only 44 of 366.
This is the pattern I am using: \s\(Uk\)
Copy link to clipboard
Copied
Hi alicinki ,
I can confirm this.
Testing a story with about 4.320 entries for string: " (UK)".
GREP search pattern is:
\s\(UK\)
In my case 174 entries out of exactly 4.320 were found.*
One story in the document, threaded to 136 pages, 415.680 characters long.
The same document opened with InDesign CC 2018.1 will find and replace all 4.320 entries.
Regards,
Uwe
* Here I trust my script that is scanning the story with an ExtendScript ( JavaScript ) RegExp that is using the pattern /\s\(UK\)/g
Copy link to clipboard
Copied
Hi All,
Like i said, GREP is indeed broken in specific cases of long documents.
If possible, do vote for the issue and voice your concerns on the above Uservoice link.
Thanks,
Aman
Copy link to clipboard
Copied
Hi Aman,
I just voted and did a back link to this thread here.
For everyone who likes to vote here the link to the report at Uservoice:
CC 14.0.2 GREP Search not working – Adobe InDesign Feedback
Regards,
Uwe
Copy link to clipboard
Copied
Aman...
Can it be possible to clearly state in which circonstances the GREP engine is broken. And yes, we need a fix...
Copy link to clipboard
Copied
Hi Jean-Claude,
I think Aman mentioned a threshold of about 10.000 characters in the scope of a GREP query.
Still have to test, if that is the case. So that if only up to 10.000 characters are selected GREP is working as expected.
Regards,
Uwe
Copy link to clipboard
Copied
I did a test... one single paragraph with 50000 characters (519 replaced text). Just added 1 character, and (no change at all). Add 1000 character (12 changes only, in fact only the match after the 50000 first character have been found).
No sure.... about the 50000 threshold. I have seen others number that fail too.
Copy link to clipboard
Copied
hey JC, this is soooo bad, we are not upgrading to 14.0.2 because of this bug alone.
Copy link to clipboard
Copied
Hi JeffArdoise​... really bad indeed!
It amaze me that when they open the codes to fix something they (Adobe) are broking something else...
Copy link to clipboard
Copied
Jean-Claude Tremblay well, that part of opening the code to fix something and breaking something else we both know it happens a lot more then we want to
Copy link to clipboard
Copied
https://forums.adobe.com/people/Jean-Claude+Tremblay wrote
It amaze me that when they open the codes to fix something they (Adobe) are broking something else...
The only possible logically related fix I find in Fixed issues in InDesign is
• InDesign crashes on searching for Column Break character in GREP tab
-- can anybody verify if this indeed got fixed? Perhaps we should convince Adobe that we'd rather have the full GREP capabilities minus this one, than the other way around ...
Copy link to clipboard
Copied
or this one...
Copy link to clipboard
Copied
Hi Jongware,
hm. Indeed, in InDesign CC 2018.1 a GREP search with pattern: ~M ( which stands for the special character Column Break ) will crash InDesign. Just verifed this.
With InDesign CC 2019 Prerelease version 14.0.2.323, just one build before the one that is now available, pattern ~M will not find a column break special character; on the plus side it will not crash InDesign 😉
I still have to install 14.0.2.324 to see if pattern ~M is working as expected.
See you later…
Regards,
Uwe
Copy link to clipboard
Copied
14.0.2.324 is finding the ~M has expected... [I don’t care much...]
Copy link to clipboard
Copied
Did some very limited tests.
Selected 38.927 characters in my story where 405 instances of string " (UK)" should be found.
This is working as expected when I ran the GREP pattern at the selection.
A word of caution, though:
Maybe it could break if the GREP expression is more complex?
FWIW: Selected 58.767 characters where 609 instances should be found.
This time the GREP pattern found only 92 instances of " (UK)".
Regards,
Uwe
Copy link to clipboard
Copied
In a story with 90000 characters, the GREP found/replace only the (UK) instance that was AFTER the 50000 first characters.
Copy link to clipboard
Copied
The fix working fine, follow the link : GREP search fails to find all the matching instances in long InDesign documents
Copy link to clipboard
Copied
Hello All,
The fix of the issue is now available and can be downloaded using the link below.
https://helpx.adobe.com/indesign/kb/search-issue-in-long-documents.html
You may click on the link and follow the quick steps to fix the issue in latest id 14.0.2 update.
Let us know if you face any problem while using the link.
Sanyam Talwar