Copy link to clipboard
Copied
I know I can do it in a text search -- but I need pattern matching, which means grepping
Is it possible? I looked at findGrepPreferences and didn't see a flag...
Thanks
Assuming you want Hebrew diacritics, it would be something like this:
[\\x{0591}-\\x{05C4}\\x{05A2}-\\x{05C7}]{0,4}
Copy link to clipboard
Copied
I don't think the option exists for GREP, but you don't really need it. You can just add optional diacritics to your GREP pattern.
Copy link to clipboard
Copied
Yep, ignoreDiacritics in findChangeTextOptions but not findChangeGrepOptions
Copy link to clipboard
Copied
You can use [[=a=]] to match 'a' and all accented variants (acute, grave, etc.). Same for all other letters. Could make for some awkward regular expressions, but you should be able to get it to work.
Peter
Copy link to clipboard
Copied
Assuming you want Hebrew diacritics, it would be something like this:
[\\x{0591}-\\x{05C4}\\x{05A2}-\\x{05C7}]{0,4}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now