Benjamin Peterson
f8c8d2e366
backout fac649bf2d10 ( #9179 ) for further consideration
2014-11-30 11:47:54 -05:00
Serhiy Storchaka
15ea870e29
Issues #814253 , #9179 : Group references and conditional group references now
...
work in lookbehind assertions in regular expressions.
2014-11-07 21:43:45 +02:00
Serhiy Storchaka
e969b1b80e
Fixed compile error in issue #22410 . The _locale module is optional.
2014-10-31 01:31:33 +02:00
Serhiy Storchaka
d4c7290368
Issue #22410 : Module level functions in the re module now cache compiled
...
locale-dependent regular expressions taking into account the locale.
2014-10-31 00:53:19 +02:00
Antoine Pitrou
f581411255
Issue #20426 : When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
2014-02-03 20:59:59 +01:00
Benjamin Peterson
b6596c516b
remove extra zero
2012-02-21 08:08:29 -05:00
Benjamin Peterson
c59df7d4e9
a frozenset is better here
2012-02-20 23:13:20 -05:00
Benjamin Peterson
740593416a
use set
2012-02-20 23:11:19 -05:00
Ezio Melotti
4664563f34
#2650 : Refactor re.escape and its tests.
2011-03-25 14:50:52 +02:00
Gregory P. Smith
ae91d0907d
Adds an optional flags argument to re.split, re.sub and re.subn to be
...
consistent with the other re module functions.
2009-03-02 05:13:57 +00:00
Georg Brandl
2adde0551a
#4185 : clarify escape behavior of replacement strings.
2009-01-01 12:00:19 +00:00
Brett Cannon
d9636e17cc
Remove the use of callable() in re to silence warnings under -3.
2008-08-04 21:07:59 +00:00
Georg Brandl
dffbf5f542
Revert copy_reg -> copyreg rename.
2008-05-20 07:49:57 +00:00
Alexandre Vassalotti
9510e4a9f8
Added module stub for copy_reg renaming in 3.0.
...
Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.
2008-05-11 08:25:28 +00:00
Guido van Rossum
212861c54f
In the experimental 'Scanner' feature, the group count was set wrong.
2008-02-05 17:32:15 +00:00
Georg Brandl
422319937e
Add missing things in re docstring.
2008-01-26 11:00:18 +00:00
Georg Brandl
e42169124f
Clarify $ behavior in re docstring. #1631394 .
2008-01-21 17:29:23 +00:00
Raymond Hettinger
80016c9555
Fix issue 1661: Flags argument silently ignored in re functions with compiled regexes.
2007-12-19 18:13:31 +00:00
Neal Norwitz
94a9c09e10
Rename sre.py -> re.py
2006-03-16 06:30:02 +00:00
Neal Norwitz
559e88be28
Remove re.py, in order to rename sre.py -> re.py (svn seems to require 2 steps).
2006-03-16 06:27:37 +00:00
Neil Schemenauer
1e6ada0533
Give people who run "pydoc re" a clue.
2003-01-31 00:35:58 +00:00
Fredrik Lundh
37a0982278
point people to the Python bug tracker, rather than to a mail
...
account I hardly ever use...
2002-10-19 20:19:10 +00:00
Guido van Rossum
ad9eba7a69
Add 'engine' back. IDLE used this, others might have copied it from
...
there.
2002-07-28 19:04:07 +00:00
Tim Peters
863ac44b74
Whitespace normalization.
2002-04-16 01:38:40 +00:00
Andrew M. Kuchling
7fd1c8c880
Remove support for importing 'pre' module
2002-04-10 21:15:40 +00:00