re difference between python 1.5 and python 2.1.2
Gillou
nospam at bigfoot.com
Thu Feb 7 09:31:44 EST 2002
Many thanks Jason !
"Jason Orendorff" <jason at jorendorff.com> a écrit dans le message news:
mailman.1013016508.6475.python-list at python.org...
> Gillou wrote:
> > re.compile(r'((ftp|http)://[\w-]+(?:\.[\w-]+)*(?:/[\w-\.?=]*)*)')
> ^
>
> Put a backslash before the last - in the regular expression.
> 1.5.2 should not have accepted this. It's a bug in 1.5.2.
>
> ## Jason Orendorff http://www.jorendorff.com/
>
More information about the Python-list
mailing list