MCPcopy Create free account
hub / github.com/Aunsiels/pyformlang / PythonRegex

Class PythonRegex

pyformlang/regular_expression/python_regex.py:58–412  ·  view source on GitHub ↗

Represents a regular expression as used in Python. It adds the following features to the basic regex: * Set of characters with [] * Inverse set of character with [^...] * positive closure + * . for all printable characters * ? for optional character/group * Repetition

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

test_with_bracketsMethod · 0.90
test_parenthesisMethod · 0.90
test_plusMethod · 0.90
test_dotMethod · 0.90
test_dot_spacesMethod · 0.90
test_simple_optionalMethod · 0.90

Calls

no outgoing calls

Tested by 15

test_with_bracketsMethod · 0.72
test_parenthesisMethod · 0.72
test_plusMethod · 0.72
test_dotMethod · 0.72
test_dot_spacesMethod · 0.72
test_simple_optionalMethod · 0.72