Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Code Editor - End Required Mode

String Code Editor UI Command GrooperReview.Controls

Inserts a regex option to disable required mode in a fuzzy regular expression.

Remarks

The End Required Mode command inserts a marker ((?-r)) at the current selection, ending a required section in a fuzzy regex pattern.

Usage Guidance

  • Use this command to mark the end of a required section in a fuzzy regex pattern.
  • Available from the context menu or by pressing Ctrl + Shift + R.
  • Only appears when the editor is in RegEx mode and fuzzy matching is supported.

Example

If your pattern is: foo (?r)bar and you want to end the required section after bar, executing this command results in: foo (?r)bar(?-r)

This allows the remainder of the pattern to be optional or less strictly matched.

Interactive Behavior

  • The command is executed client-side and immediately updates the editor content.

Notification