Re: "re" vs "sre"?

2006-09-23 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Peter Otten wrote: > Lawrence D'Oliveiro wrote: > >> I learned about Python regular expressions from the Web documentation >> . This describes a module named >> "re". Then I saw some code written by a colleague, and he was using

Re: "re" vs "sre"?

2006-09-23 Thread Peter Otten
Lawrence D'Oliveiro wrote: > I learned about Python regular expressions from the Web documentation > . This describes a module named "re". > Then I saw some code written by a colleague, and he was using a module > named "sre". I checked my Python 2.4.3 installa

"re" vs "sre"?

2006-09-23 Thread Lawrence D'Oliveiro
I learned about Python regular expressions from the Web documentation . This describes a module named "re". Then I saw some code written by a colleague, and he was using a module named "sre". I checked my Python 2.4.3 installation, and sure enough, I have a modu

Re: RE vs. SRE

2005-08-21 Thread Michael Hoffman
Yoav wrote: > What is the difference between the two? Which on is better to use and why? In Python 2.4, this is what's in re.py: ''' """Minimal "re" compatibility wrapper. See "sre" for documentation.""" engine = "sre" # Some apps might use this undocumented variable from sre import * from sre

RE vs. SRE

2005-08-21 Thread Yoav
What is the difference between the two? Which on is better to use and why? Thanks. -- http://mail.python.org/mailman/listinfo/python-list