A large set of examples of using the pattern-matching engine.
More...Files | |
file | __init__.py [code] |
file | ast_translate.py [code] |
Demonstrates using the AST for translation of the pattern matched results. | |
file | basic.py [code] |
Demonstrates simple matching and testing of patterns in a string. | |
file | csv.py [code] |
Demonstrates parsing comma separated values. | |
file | flags.py [code] |
Demonstrates using the pattern matching flags. | |
file | limits.py [code] |
Demonstrates placing limits on the node hits and parse tree depth. | |
file | main.py [code] |
Driver function for demonstrating a large set of pattern matching examples. | |
file | multiline.py [code] |
Demonstrates mimicking the multi-line mode flag of regex. | |
file | recursive.py [code] |
Demonstrates using recursive rules for matching nested pairs. | |
file | replace.py [code] |
Demonstrates use of the replace function. | |
file | rules.py [code] |
Demonstrates including or excluding specific pattern rules in the result. | |
file | split.py [code] |
Demonstrates the use of the split() function. | |
file | udts.py [code] |
Demonstrates using User-Defined Terminals (UDTs). | |
A large set of examples of using the pattern-matching engine.