> #import re  # comment out this line - new regexp (implicitly loads "sre" I
> think)
> import pre  # the python 1.5 implementation of regexp
> 
> re = pre # Avoids the need of changing existing code

or that can be shortened to

    import pre as re

Cheers,
Trent

-- 
Trent Mick
[EMAIL PROTECTED]
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
  • ... Карпов Денис Сергеевич
    • ... Phil Harris
    • ... Phil Harris
      • ... Christian Tismer
    • ... Trent Mick
    • ... Houman G
    • ... Markus Schönhaber
    • ... Trent Mick
    • ... Markus Schönhaber
    • ... David Niergarth

Reply via email to