summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
Commit message (Collapse)AuthorAgeFilesLines
* Check in a testcase for SF bug #449000: re.sub(r'\n', ...) broke.Guido van Rossum2001-08-101-0/+6
|
* SRE 2.1b1: don't do unicode tests under 1.5.2, or on unicodeFredrik Lundh2001-03-221-3/+8
| | | | strings/patterns.
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-74/+76
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Update the code to better reflect recommended style:Fred Drake2000-12-121-11/+11
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+1
|
* Better conformance to the Python Style Guide: use spaces around operators.Fred Drake2000-08-181-32/+33
|
* -- enabled some temporarily disabled RE testsFredrik Lundh2000-08-081-6/+32
| | | | | -- added basic unicode tests to test_re -- added test case for Sjoerd's xmllib problem to re_tests
* -- whitespace cleanup (more tests to be added in the next commit)Fredrik Lundh2000-08-081-23/+23
|
* Comment out repeated-group test for the momentAndrew M. Kuchling2000-08-031-1/+1
|
* Add nasty test case that overflows the stack with a repeated groupAndrew M. Kuchling2000-08-031-0/+4
|
* Switch to sre for regular expression matching (the new mini-re moduleGuido van Rossum2000-06-301-4/+4
| | | | | is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
* Added tests for findall().Guido van Rossum1998-07-171-1/+21
| | | | | Added test for m.groups() with default. Added a few prints announcing various tests in verbose mode.
* Remove RCS and #! cruft at top.Guido van Rossum1998-06-261-4/+0
|
* AMK's latestGuido van Rossum1998-04-031-13/+92
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-68/+68
|
* Added tests for qualified sub and splitGuido van Rossum1998-01-141-0/+15
|
* Add tests for re.L(OCALE).Guido van Rossum1997-12-301-1/+7
|
* New re version from AMKGuido van Rossum1997-12-081-8/+42
|
* Change test for re.sub() involving g<...> to use a multi-characterGuido van Rossum1997-10-081-1/+1
| | | | | identifier. The previous re.py had a bug that wouldn't show up with single-char identifier...
* The re test suite is very slow on slower hosts.Guido van Rossum1997-09-041-0/+3
| | | | To save time, only run the first and last 10 tests except in verbose mode.
* 1.5a3 prerelease 1 from AMKGuido van Rossum1997-08-131-1/+12
|
* Some new tests by JeffreyGuido van Rossum1997-07-181-11/+72
|
* Added tests for sub, subn, and split.Guido van Rossum1997-07-171-1/+47
|
* Jeffrey's latest -- seems to solve most problems!Guido van Rossum1997-07-171-6/+18
|
* Merged Jeffrey's changes in.Guido van Rossum1997-07-151-1/+8
|
* Tweak re_tests and test_re to differentiate betweenGuido van Rossum1997-07-151-1/+1
| | | | groups that have no value and groups that are out of bounds.
* More tweaks; re.py is nearly there...Guido van Rossum1997-07-151-4/+3
|
* Removed the traceback output in non-verbose modeGuido van Rossum1997-07-111-1/+2
|
* Some small nits.Guido van Rossum1997-07-111-3/+5
|
* test suite for re.pyGuido van Rossum1997-07-111-0/+56