/regex

Simple regex implementation

Primary LanguagePythonMIT LicenseMIT

Regex - simple regex implementation

For a list of supported features see tests.

API

Test if text matches the pattern.

match(text, pattern)

Returns True if text matches the pattern, False otherwise.

Run tests

python regex.py