New submission from Julian jcerr...@gmail.com:
Trying to use regex 0.1.2011051 with the overlapped=True feature
It works great, unless I have the 'start of string' (caret) character in my
regular expression:
regex.findall(ra.*b,abadalaba,overlapped=True)
['abadalab', 'adalab', 'alab', 'ab']
Brian Curtin br...@python.org added the comment:
Please report this to the regex bug tracker.
--
nosy: +brian.curtin
resolution: - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think that's normal, the ^ matches only at the beginning of the string.
--
nosy: +ezio.melotti, mrabarnett
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12130
Julian jcerr...@gmail.com added the comment:
Sorry for posting in the wrong tracker. I'm a bit dumb: can you please point me
to the right tracker?
I know ^ should match the beginning of the string, but there are multiple
overlapping matches with the beginning of the string (as the first set
Julian jcerr...@gmail.com added the comment:
Just in case somebody else stumbles upon this, I ended up posting here:
https://code.google.com/p/mrab-regex-hg/issues/detail?id=10
--
___
Python tracker rep...@bugs.python.org
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
Replied to the regex bug tracker.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12130
___