]> granicus.if.org Git - python/commit
New module -- converts regex regular expressions to re style.
authorGuido van Rossum <guido@python.org>
Thu, 23 Oct 1997 22:43:50 +0000 (22:43 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 23 Oct 1997 22:43:50 +0000 (22:43 +0000)
commitf81e5b9c780e47c8a312a69a7ff71169276a9720
tree7ab590f66035617f50a77c7fe36a5d007f29b426
parent1fef18118339237de025ed15dc6df4c39315b55d
New module -- converts regex regular expressions to re style.
There are two ways to use this -- as a filter (e.g. using C-U M-| on a
regex string literal in an Emacs buffer) or from a Python program
which imports this as a module.  Read the doc string for more info,
and also some caveats (some cases aren't handled right).
Lib/reconvert.py [new file with mode: 0755]