[EMAIL PROTECTED] 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/ -- http://mail.python.org/mailman/listinfo/python-list