• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

InDesign 2019 (version 14.0.2) - GREP is broken

Community Beginner ,
Apr 03, 2019 Apr 03, 2019

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.

Views

4.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Apr 08, 2019 Apr 08, 2019

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

Votes

Translate

Translate
Community Expert ,
Apr 03, 2019 Apr 03, 2019

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 03, 2019 Apr 03, 2019

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 03, 2019 Apr 03, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 03, 2019 Apr 03, 2019

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 03, 2019 Apr 03, 2019

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)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2019 Apr 04, 2019

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2019 Apr 04, 2019

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\)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 04, 2019 Apr 04, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2019 Apr 04, 2019

Copy link to clipboard

Copied

hey JC, this is soooo bad, we are not upgrading to 14.0.2 because of this bug alone.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2019 Apr 04, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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 ...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

Copy link to clipboard

Copied

or this one...

  • Paragraph Return (\r) changes to ‘paragraph separator’ and the paragraph style of the first sentence changes to the paragraph style of the second sentence when the 8000th character is a Paragraph Return

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

Copy link to clipboard

Copied

14.0.2.324 is finding the ~M has expected... [I don’t care much...]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2019 Apr 04, 2019

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 08, 2019 Apr 08, 2019

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 08, 2019 Apr 08, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines