A regular expression that is used to specify a tokenizer symbol.
Checking two regular expressions for equality does not mean that they recognize the same symbols, but that their internal structure is the same.
Instance member | Description |
|
Returns a regex that recognizes at least a number of consecutive strings that are recognized by the given regex.
|
|
Returns a regex that recognizes a ranged number of strings that are recognized by the given regex. The range is closed.
|
|
Returns a regex that recognizes either the given regex or the empty string.
|
|
Returns a regex that recognizes an exact number of strings that are recognized by the given regex.
|
|
Returns a regex that recognizes zero or more strings that are recognized by the given regex.
|
Static member | Description |
A regex that recognizes any single character that was not matched by anything else. Note that it's not the same with "any character". See more at https://teo-tsirpanis.github.io/Farkle/string-regexes.html#The-dot-regex
|
|
|
|
|
A regex that recognizes only the empty string.
|
|
Returns a regex specified by a string. An invalid regex string will make the building process fail. See more at https://teo-tsirpanis.github.io/Farkle/string-regexes.html
|
|
|
|
|
|
|
|
Returns a regex that recognizes any character, except of these on the given sequence. An empty sequence is equivalent to `Regex.Any`.
|
|
Returns a regex that recognizes only one character of these on the given sequence of characters.
|