[docs] [issue14155] Deja vu in re's documentation

py.user report at bugs.python.org
Thu Mar 1 22:53:37 CET 2012

py.user <port139 at yandex.ru> added the comment:

this sentence was deleted:
"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:
"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 <report at bugs.python.org>

More information about the docs mailing list