John Machin wrote:

> Search for r'^something' can never be better/faster than match for 
> r'something', and with a dopey implementation of search [which Python's 
> re is NOT] it could be much worse. So please don't tell newbies to 
> search for r'^something'.

How else would you match the beginning of a line in a multi-line string?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to