Author py.user
Recipients docs@python, ezio.melotti, mrabarnett, py.user
Date 2012-04-01.08:11:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"Note that patterns which start with positive lookbehind assertions will never match at the beginning of the string being searched; you will most likely want to use the search() function rather than the match() function:"

>>> re.match(r'(?<=^)abc', 'abc').group()
>>> re.match(r'(?<=\b)abc', 'abc').group()
>>> re.match(r'(?<=\A)abc', 'abc').group()
>>> re.match(r'(?<=\A)abc', 'abc', re.DEBUG).group()
assert -1 
  at at_beginning_string 
literal 97 
literal 98 
literal 99 

in some cases match() can match
Date User Action Args
2012-04-01 08:12:00py.usersetrecipients: + py.user, ezio.melotti, mrabarnett, docs@python
2012-04-01 08:12:00py.usersetmessageid: <>
2012-04-01 08:12:00py.userlinkissue14461 messages
2012-04-01 08:11:59py.usercreate