[Python-bugs-list] [Bug #117242] Negative lookbehind fails

noreply@sourceforge.net noreply@sourceforge.net
Sat, 28 Oct 2000 06:37:54 -0700


Bug #117242, was updated on 2000-Oct-18 15:47
Here is a current snapshot of the bug.

Project: Python
Category: Library
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: Negative lookbehind fails

Details: Found by Robin Becker and reported on comp.lang.python...
The following example program doesn't match, and it seems like it 
should.

import re
wpat = re.compile(r'(?<!self\.)\b([A-Za-z_]\w*)\s*\(')
m = wpat.search('   a(')


Follow-Ups:

Date: 2000-Oct-20 09:26
By: akuchling

Comment:
Patch #101972 is a proposed fix for this bug.
-------------------------------------------------------

Date: 2000-Oct-28 06:37
By: effbot

Comment:
fixed in my local copy.  I'll update the CVS version as
soon as I've updated the regression suite.

thanks /F

-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=117242&group_id=5470