Greps

New Here ,
Oct 29, 2020 Oct 29, 2020

Copy link to clipboard

Copied

Can anyone explain to me what this bit of code is and how it works please?

 

<?>

 

Thanks

TOPICS
How to, Scripting

Views

139

Likes

translate

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

Most Valuable Participant , Oct 29, 2020 Oct 29, 2020
Nothing special. The only GREP command is the ?, which means "0 or 1 occurrence". So this will find all ">" characters, and if it is preceded by a "<" this will be included in the match.   For a list of GREP codes see https://helpx.adobe.com/indesign/user-guide.html/indesign/using/find-change.ug.html#metacharacters_for_searching

Likes

translate

Translate

Translate
Most Valuable Participant ,
Oct 29, 2020 Oct 29, 2020

Copy link to clipboard

Copied

Nothing special. The only GREP command is the ?, which means "0 or 1 occurrence".

So this will find all ">" characters, and if it is preceded by a "<" this will be included in the match.

 

For a list of GREP codes see https://helpx.adobe.com/indesign/user-guide.html/indesign/using/find-change.ug.html#metacharacters_f...

Likes

translate

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