Author Ma Lin
Recipients Ma Lin, davisjam, effbot, ezio.melotti, mrabarnett, rhettinger, serhiy.storchaka, tim.peters
Date 2019-01-31.03:28:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548905300.62.0.776732690778.issue35859@roundup.psfhosted.org>
In-reply-to
Content
You can `#define VERBOSE` in file `_sre.c`, it will print the engine's actual actions:

|02FAC684|02FC7402|MARK 0
...
|02FAC6BC|02FC7401|MARK 1

In my computer, 02FC7400 points to "ab", 02FC7401 points 'b' in "ab", 02FC7402 points to the end of "ab".

This capture group, begin at 02FC7402, end at 02FC7401. `begin > end` makes it return an empty string.

This seems a bug, the begin should at 02FC7400.
History
Date User Action Args
2019-01-31 03:28:22Ma Linsetrecipients: + Ma Lin, tim.peters, effbot, rhettinger, ezio.melotti, mrabarnett, serhiy.storchaka, davisjam
2019-01-31 03:28:20Ma Linsetmessageid: <1548905300.62.0.776732690778.issue35859@roundup.psfhosted.org>
2019-01-31 03:28:20Ma Linlinkissue35859 messages
2019-01-31 03:28:20Ma Lincreate