Confused about 'positive lookbehind assertion'
rcdailey at gmail.com
Tue Sep 25 04:38:16 CEST 2007
I've been reading the python documentation on 'positive lookbehind
assertion' and I don't understand at all how it works. The python docs give
the following example:
"**(?<=abc)def will find a match in "abcdef", since the lookbehind will back
up 3 characters and check if the contained pattern matches."
Can anyone emphasize more on what this RE operation does? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list