re bug

Gustavo Niemeyer niemeyer at
Wed Oct 6 15:48:02 CEST 2004

> > Btw, the only reason that the OP's expression didn't got stuck
> > in the first two test cases is because the expression matched.
> I don't really understand what you mean. You can easily change str3
> such that rx matches. Nevertheless, you will have to wait a long time
> to get a result.

If you're waiting a long time, your expression isn't matching. Try to
use "mm/mm/cn:nom:akk:2:3" as the last term of your third expression.
It executes in 0.045 seconds here.

Gustavo Niemeyer

More information about the Python-list mailing list