re module help

rattan at cps.cmich.edu rattan at cps.cmich.edu
Fri Sep 9 10:57:49 EDT 2005


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




More information about the Python-list mailing list