Skip to main content

API Reference

Classes

Regex

Regex utilities and functions.

Static Functions

NameDescription
matchCheck 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.

patternRequired
  • Type: str

regex pattern.


textRequired
  • Type: str

given input string.