Issue623201
Created on 2002-10-14.20:12:11 by kjohnson, last changed 2002-10-17.21:22:45 by kjohnson.
History | |||
---|---|---|---|
Date | User | Action | Args |
2002-10-14 20:12:11 | kjohnson | create |
Created on 2002-10-14.20:12:11 by kjohnson, last changed 2002-10-17.21:22:45 by kjohnson.
Messages | |||
---|---|---|---|
msg760 (view) | Author: Kent Johnson (kjohnson) | Date: 2002-10-14.20:12:11 | |
There seems to be a problem with IGNORECASE and the re [^.] Here is a test progrom: import re data = 'Instructions: First sentence. Second sentence.' instRe = r'[^.]*\.' # Find everything to the first period print re.search(instRe, data).group(0) print re.search(instRe, data, re.IGNORECASE).group(0) ##### Under Jython 2.1 the output is Instructions: First sentence. Instructions: First sentence. Second sentence. Under Python 2.2.1 the output is Instructions: First sentence. Instructions: First sentence. Kent Johnson |
|||
msg761 (view) | Author: Kent Johnson (kjohnson) | Date: 2002-10-17.21:22:45 | |
Logged In: YES user_id=49695 I think this is the same as 545235 and fixed in CVS |
History | |||
---|---|---|---|
Date | User | Action | Args |
2002-10-14 20:12:11 | kjohnson | create |
Supported by Python Software Foundation,
Powered by Roundup