mirror of
https://github.com/python/cpython.git
synced 2025-09-14 12:46:49 +00:00
the mad patcher strikes again:
-- added pickling support (only works if sre is imported) -- fixed wordsize problems in engine (instead of casting literals down to the character size, cast characters up to the literal size (same as the code word size). this prevents false hits when you're matching a unicode pattern against an 8-bit string. (unfortunately, this broke another test, but I think the test should be changed in this case; more on that on python-dev) -- added sre.purge function (unofficial, clears the cache)
This commit is contained in:
parent
ae1b5b2e98
commit
0640e1161f
5 changed files with 73 additions and 66 deletions
|
@ -1,6 +1,5 @@
|
|||
test_sre
|
||||
test_support -- test failed re module pickle
|
||||
test_support -- test failed re module cPickle
|
||||
=== Failed incorrectly ('\\x00ffffffffffffff', '\377', 0, 'found', '\377')
|
||||
=== Failed incorrectly ('^(.+)?B', 'AB', 0, 'g1', 'A')
|
||||
=== Failed incorrectly ('(a+)+\\1', 'aa', 0, 'found+"-"+g1', 'aa-a')
|
||||
=== grouping error ('([^/]*/)*sub1/', 'd:msgs/tdir/sub1/trial/away.cpp', 0, 'found+"-"+g1', 'd:msgs/tdir/sub1/-tdir/') 'd:msgs/tdir/sub1/-trial/' should be 'd:msgs/tdir/sub1/-tdir/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue