Paragraph-style grep functions are unreliable
inDesign paragraph-style grep functions are unreliable. I have two examples with differing issues in a monthly publication.
The first is a query for web addresses and emails based on common TLDs. I have used it for years.
\b\S+(.com|.org|.gov|.edu|.net|.UK|.ca|.uk|.ly)((\s)|[^>])\;:\s(.\s)(\,\s)]+)
In the same document, on the same text, the style change query works, and then doesn't work in another paragraph style. To make it more confusing, if I remove the pathname variables it will then work. If I past the variables back in, it will still work.
Even simple match queries will need to be edited into different syntax to work from one pstyle to the next.
The second is just "what’s up with the ampersand?!"
If I type in one ‘&’ I can come back to find ‘&&’. It happens a lot! It can keep compounding to make 3 or more. It work the same way even if I treat it like a metacharacter.
Anyone?
-
Ricardo Medici commented
I'm having the same problem with & inside grep codes. and this is making my Indesign slow and crashing because InDesign never stop to duplicate this symbol