Jörgen Kosche wrote:
Hello again

I forgot one thing in the last mail:
In the program Performance.java reset the line:
RE re = new RE("xyz", RE.MATCH_FROMBEGINNING);
with:
RE re = new RE("^xyz", RE.MATCH_SINGLELINE);

That should have the same effect, but the second variety is much
slower, because it try to match on the whole string.

Jörgen,

1.4 release has optimization for "^xyz", try it out.

Regards,
Vadim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to