py.user <port...@yandex.ru> added the comment: this sentence was deleted: http://docs.python.org/py3k/library/re.html#matching-vs-searching "The “match” operation succeeds only if the pattern matches at the start of the string regardless of mode, or at the starting position given by the optional pos argument regardless of whether a newline precedes it."
this sentence exists now: http://docs.python.org/dev/library/re.html#re.match "Note that even in MULTILINE mode, re.match() will only match at the beginning of the string and not at the beginning of each line." but the multiline mode affects on regex.match() a reader may confuse re.match() and regex.match(), although regex.match() cites to regex.search() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14155> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com