re module help
Steve Holden
steve at holdenweb.com
Sun Sep 11 01:02:31 EDT 2005
rattan at cps.cmich.edu wrote:
> I am trying to make prescript-2.2 (old python based psotscript to plain
> text converter).
> It gives the following dprecation message
>
> /local/users/ishwar/prescript-2.2/misc.py:23: DeprecationWarning: the
> regex module is deprecated; please use the re module
> import os, regex, sys, string
>
> if I start replacing regex by re I get stuck at replacement of
> regex.symcomp() and regex.pattern()
>
> methods. The are not in re module.
>
> Is there a solution?
> -ishwar
>
This may or may not help:
http://web.archive.org/web/20001119074200/www.python.org/doc/howto/regex-to-re/regex-to-re.html
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list