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

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

352

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

Community Expert , 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

Votes

Translate

Translate
Community Expert ,
Oct 29, 2020 Oct 29, 2020

Copy link to clipboard

Copied

LATEST

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

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