[issue4219] Problem with regular expression

2008-10-28 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list m

[issue4219] Problem with regular expression

2008-10-28 Thread Carlos Eduardo Klock
Carlos Eduardo Klock <[EMAIL PROTECTED]> added the comment: Sorry, it is really a problem with the comma. Thanks for helping! :) ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4219] Problem with regular expression

2008-10-28 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: It's not a Python bug: your regex is invalid. When the regex finds '1211641200', it reads >,'1211641200',< includind the last comma. So the cursor will be at the apostrophe before 1214578800: ...200','121457... ^ You have to change

[issue4219] Problem with regular expression

2008-10-28 Thread Carlos Eduardo Klock
New submission from Carlos Eduardo Klock <[EMAIL PROTECTED]>: Hello, I am having a weird problem with regex. I am trying to get the tokens that match the pattern below, but it is not working only for a specific case. I do this for many lines of text, and it works, except for the string '1214578