re difference between python 1.5 and python 2.1.2
Jason Orendorff
jason at jorendorff.com
Wed Feb 6 12:22:52 EST 2002
More information about the Python-list mailing list
Wed Feb 6 12:22:52 EST 2002
- Previous message (by thread): for item in (pydoc, docs, lib): question_regarding(item)
- Next message (by thread): re difference between python 1.5 and python 2.1.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message (by thread): for item in (pydoc, docs, lib): question_regarding(item)
- Next message (by thread): re difference between python 1.5 and python 2.1.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list