Message15568
Logged In: YES
user_id=86307
Gustavo,
Just a quick note on compatibility. As I mentioned, the PCRE
rule is that groups in negative asserts do not match. So, with
Python 2.2, you get this result using pre:
>>> pre.match('((?!(a)c)[ab])*', 'abc').groups()
('b', None)
Although I understand your argument, I'll just say that I
personally think it would be better to move toward compatibility
with pre (which after all was the official Python regex engine
before sre), rather than to remain partly compatible with Perl.
Thanks for reviewing my patches and fixing the bugs!
|
|
Date |
User |
Action |
Args |
2007-08-23 14:12:38 | admin | link | issue725149 messages |
2007-08-23 14:12:38 | admin | create | |
|