This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients davisjam, effbot, ezio.melotti, malin, 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:22malinsetrecipients: + malin, tim.peters, effbot, rhettinger, ezio.melotti, mrabarnett, serhiy.storchaka, davisjam
2019-01-31 03:28:20malinsetmessageid: <1548905300.62.0.776732690778.issue35859@roundup.psfhosted.org>
2019-01-31 03:28:20malinlinkissue35859 messages
2019-01-31 03:28:20malincreate