Message109399
Should a regex compile if a group is referenced before it's defined?
Consider this:
(?:(?(2)(a)|(b))+
Other regex implementations permit forward references to groups.
BTW, I had a look at the re module, found it too difficult, and so started on my own implementation of the matching engine (available on PyPI). |
|
| Date |
User |
Action |
Args |
| 2010-07-06 15:52:08 | mrabarnett | set | recipients:
+ mrabarnett, mark.dickinson, acooke |
| 2010-07-06 15:52:07 | mrabarnett | set | messageid: <[email protected]> |
| 2010-07-06 15:52:05 | mrabarnett | link | issue9179 messages |
| 2010-07-06 15:52:05 | mrabarnett | create | |
|