Get source
(?<name>:
..
Begin a group
the group name
Clear the content
if keep the definitions
xy
Define a variable
the variable name
the variable expression
(xy)
Define a variable for group operation
the variable name
the variable expression
x(?=y)
Define a lookahead variable
the variable name
the variable expression
the variable expression
the build options
(?<=y)x
Define a lookbehind variable
the variable name
the variable expression
the variable expression
the build options
x(?!y)
Define a negated lookahead variable
the variable name
the variable expression
the variable expression
the build options
(?<!y)x
Define a negated lookbehind variable
the variable name
the variable expression
the variable expression
the build options
[^xy]
Define a variable for negated set
the variable name
the variable expression
x|y
Define a variable for or operation
the variable name
the variable expression
[xy]
Define a variable for set
the variable name
the variable expression
Enable match whole
)
..
End a group
the group name
(xy)
Append an expression for or operation
the expression
xy
Append an expression
the expression
x(?=y)
Append a lookahead expression
the variable expression
the variable expression
the build options
(?<=y)x
Append a lookbehind expression
the variable expression
the variable expression
the build options
x(?!y)
Append a negated lookahead expression
the variable expression
the variable expression
the build options
(?<!y)x
Append a negated lookbehind expression.
the variable expression
the variable expression
the build options
[^xy]
Append an expression for negated set
the expression
x|y
Append an expression for or operation
the expression
[xy]
Append an expression for set
the expression
Stash the current expression as a variable.
the variable name
Get the build result
flags
Encode a raw string to a regular expression string.
Following special characters will be encoded: ^\.()[]?+*|$
For set case, encoded characters: ^\-]
Rules:
^
only when it is the first char-
only when it is not the first char and not the last char\]
alwaysthe raw string
if for set []
operation
Create an instance of RegExpCoder
Generated using TypeDoc
Regular Expression Coder
Regular Expressions