RegexBuilder
Supports the regex builder function.
Functions
Combines multiple builders into a single builder, separated by the OR operator (|).
Appends a pattern to the regex builder, injecting the language in the IDE.
The same as append, except without the language injection. This is for special cases where the IDE incorrectly flags the pattern -- hopefully just because it doesn't have enough context.
Groups a segment of a regular expression, with the groupStart
and groupEnd
parameters marking the start and end of the group respectively.
Appends the OR operator (|
) to the regex builder.
overload for building a regex inside a regex builder
This just provides an indent around related parts of the pattern. Defines a section of the regular expression string. The builder
function is applied to the RegexBuilderScope
to define the section content.