Character ranges#
Constructor#
|
Grammar that defines a set of allowed or disallowed characters. |
|
Create an instance of |
|
Create an instance of |
Attributes#
Character ranges in the form of tuples (start, end). |
|
Negate the character range. |
Rendering#
|
Render the grammar as a regular expression. |
|
Return a string representation of the grammar. |
Simplification#
Simplify the grammar. |
Utility#
Create a copy of the grammar. |
|
|
Check equality with another value. |
Metadata#
Warning
CharRange.attrs_dict is considered experimental and may change without warning.
Return instance attributes of the grammar. |