Method ExtString.RxIsMatch
Overload
Returns true
if this string matches PCRE regular expression rx.
public static bool RxIsMatch(this string t, string rx, RXFlags flags = 0, Range? range = null)
Parameters
t (string)
This string. If |
rx (string)
Regular expression. Cannot be |
flags (RXFlags)
Options. Default 0. Flag UTF is implicitly added if rx contains non-ASCII characters and there is no flag NEVER_UTF. |
range (Range?)
Start and end offsets in the subject string. If |
Returns
bool
|
Exceptions
ArgumentException
Invalid regular expression. |
ArgumentOutOfRangeException
Invalid range. |
AuException
Failed (unlikely). |
Remarks
More info and examples: regexp.