Copy link to clipboard
Copied
Hi
I would like to know what is the Flavour/Version of GREP/RegEx used by Adobe InDesign ?
There are many flavours like PCRE v1, PCRE v2, PERL, Java, Python, ECMA.
I see most of the regex written in Notepad++ works in InDesign except few.
I try most of the regex in Notepad++ and regex101 site first and then use it in InDesign.
Thanks
The standard reference for InDesign GREP is @Peter Kahrel's GREP in InDesign.
The Resources section of that book says, "InDesign's GREP uses the Boost libraries" (long URL follows from www.boost.org, excuse me for not typing it all in but it does contain the folder string 1_67_0, which I assume indicates a version or fork).
Hope that's useful. As the implementation is very specific/tailored to InDesign, you would probably find Peter's book useful.
Copy link to clipboard
Copied
The standard reference for InDesign GREP is @Peter Kahrel's GREP in InDesign.
The Resources section of that book says, "InDesign's GREP uses the Boost libraries" (long URL follows from www.boost.org, excuse me for not typing it all in but it does contain the folder string 1_67_0, which I assume indicates a version or fork).
Hope that's useful. As the implementation is very specific/tailored to InDesign, you would probably find Peter's book useful.
Copy link to clipboard
Copied
@James Gifford—NitroPress Thank you so much. Your answer was very helpful.