On 03/17/2016 04:54 PM, Glenn Linderman wrote:
On 3/16/2016 12:59 AM, Serhiy Storchaka wrote:

Actually "must match the regular expression" is not correct, because
re.match() implies anchoring at the start. I have proposed more
correct regular expression in other branch of this thread.

"match" doesn't imply anchoring at the start.  "re.match()" does (and as
a result is very confusing to newbies to Python re, that have used other
regexp systems).

It still confuses me from time to time.  :(

Python-Dev mailing list

Reply via email to