How to do this in Python...

Rene Pijlman reageer.in at de.nieuwsgroep
Thu Jan 23 23:43:40 CET 2003


Michael Tiller:
>In C++, I could write a statement like this:
>if (match=re.match(pattern, string))
>But I cannot figure out how to do the equivalent thing in Python. 

"This issue comes up in the Python newsgroup with alarming
frequency"
http://www.python.org/doc/FAQ.html#6.30

-- 
René Pijlman

Wat wil jij leren?  http://www.leren.nl




More information about the Python-list mailing list