Sherpa Regex#

The “Sherpa Regex” button in the development menu allows you to open Sherpa Regex.

Sherpa Regex is a powerful tool for working with regular expressions. It provides convenient means for composing and testing regular expressions. The tool separates different groups of expressions to facilitate the selection of the appropriate pattern. Additionally, Sherpa Regex includes a smart assistant capable of composing a regular expression according to the user's request.

No.Interface ElementDescription
1.Parameters

Allows specifying additional configuration parameters for regular expressions. This area has flags for various regular expression options:

  • IgnoreCase - ignore case;
  • Multiline - multiline mode.
  • Update - Button to apply the regular expression.
2.EscapingAllows escaping special characters in regular expressions.
3.Character ClassesA list of special character classes, such as \w, \s, \d, and their negated forms.
4.AnchorsA section displaying various "anchors" for regular expressions, such as ^ and $, which denote the start and end of a string, respectively.
5.GroupsVarious constructs for grouping, including capturing and non-capturing groups.
6.QuantifiersControls for defining the number of repetitions.
7.ReplacementsA section for designations related to replacing substrings in match results.
8.MiscellaneousAdditional symbols and constructs that do not fit into other categories.
9. “Testing” Tab
9.1.Text input field “PATTERN”A field for entering the regular expression.
9.2.Text input field “TEXT”A field for entering the text on which the regular expression will be tested.
9.3.Text input field “GROUPS”A field that displays the captured groups after executing the regular expression on the text.
10. “Smart Assistant” Tab
10.1.“PARAMETERS”

Allows selecting a parameter for the request:

  • Describe the task;
  • Match all patterns.
10.2.Text input field “REQUEST”Allows entering and submitting a request.
10.3.Text input field “PATTERN”A field for entering the regular expression.