API Reference
Classes
Regex
Regex utilities and functions.
Static Functions
Name | Description |
---|---|
match | Check if a regex pattern is matched by a given string. |
match
bring regex;
regex.match(pattern: str, text: str);
Check if a regex pattern is matched by a given string.
pattern
Required
- Type: str
regex pattern.
text
Required
- Type: str
given input string.