Ma Lin <malin...@163.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35859>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to