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

Code Editor - Start Required Mode

String Code Editor UI Command GrooperReview.Controls

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

Remarks

The Start Required Mode command inserts a marker ((?r)) at the current selection, indicating that the following portion of a fuzzy regex pattern is required for a match.

Usage Guidance

  • Use this command when editing fuzzy regex patterns to specify that a section must be present in the match.
  • Available from the context menu or by pressing Ctrl + R.
  • Only appears when the editor is in RegEx mode and fuzzy matching is supported.

Example

If your pattern is: foo bar and you place the cursor before bar and execute this command, the pattern becomes: foo (?r)bar

This ensures that bar is a required part of the match.

Interactive Behavior

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

Notification