Re: Patch for Regexp

2005-08-17 Thread Vadim Gritsenko
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, becaus

Re: Patch for Regexp

2004-07-25 Thread Jörgen Kosche
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 th