const class sys::Regex
Regex represents a regular expression.
Equality is based on pattern string.
Compile a regular expression pattern string.
Make a Regex which will match a glob pattern:
- "?": match one unknown char (maps to "." in regex)
- "*": match zero or more unknown char (maps to ".*" in regex)
- any other character is matched exactly
virtual override Int hash()
RegexMatcherinstance to use for matching operations against the specified string.
Split the specified string around matches of this pattern. The
limitparameter specifies how many times to apply the pattern:
limitis greater than zero, the pattern is applied at most
limit-1times and any remaining input will be returned as the list's last item.
limitis less than zero, then the pattern is matched as many times as possible.
limitis zero, then the pattern is matched as many times as possible, but trailing empty strings are discarded.
virtual override Str toStr()
Return the regular expression pattern string.