Don't depreciate pre as we all will loose a useful verification tool for sre! From time to time I have situations where I wonder why re(sre) doesn't match its input. Then I change to pre (import pre as re) and several times it happened that pre worked fine while sre did not. Sorry that I didn't track down the error but if you are interested in the testcase I attached the test case for you. (This failure is in a regular expression which maches a complete pattern of a VHDL Architecture to apply a patch on it so it was quick hack but a large regex. The other failures I cannot remember what it was, sorry) Regards Wolfgang Grafen --------------------------------------- I will be absent until 5 September 2003 ---------------------------------------
Logged In: YES user_id=555 The particular problem with your test case turned out to be an infinite loop in the sre parser. This is fixed in patch #1018386. If you are aware of or encounter any other cases where sre's behavior deviates from pre, please post a bug for them. Pending that, I'd suggest this bug be closed. Thanks for your excellent bug report!