Back to index

python3.2  3.2.2
Variables
test.re_tests Namespace Reference

Variables

list benchmarks
list tests
string u = '\N{LATIN CAPITAL LETTER A WITH DIAERESIS}'

Variable Documentation

Initial value:
00001 [
00002 
00003     # test common prefix
00004     ('Python|Perl', 'Perl'),    # Alternation
00005     ('(Python|Perl)', 'Perl'),  # Grouped alternation
00006 
00007     ('Python|Perl|Tcl', 'Perl'),        # Alternation
00008     ('(Python|Perl|Tcl)', 'Perl'),      # Grouped alternation
00009 
00010     ('(Python)\\1', 'PythonPython'),    # Backreference
00011     ('([0a-z][a-z0-9]*,)+', 'a5,b7,c9,'), # Disable the fastmap optimization
00012     ('([a-z][a-z0-9]*,)+', 'a5,b7,c9,'), # A few sets
00013 
00014     ('Python', 'Python'),               # Simple text literal
00015     ('.*Python', 'Python'),             # Bad text literal
00016     ('.*Python.*', 'Python'),           # Worse text literal
00017     ('.*(Python)', 'Python'),           # Bad text literal with grouping
00018 
00019 ]

Definition at line 17 of file re_tests.py.

Definition at line 56 of file re_tests.py.

string test.re_tests.u = '\N{LATIN CAPITAL LETTER A WITH DIAERESIS}'

Definition at line 664 of file re_tests.py.