On Wednesday 14 February 2001 09:47, you wrote:
} The bug is reproducible in Regexp 1.2 using the statement:
}
} RE re = new RE("ABC.*?X+Z");
}
} This will cause an ArrayIndexOutOfBoundsException in
} RECompiler.setNextOfEnd().
} The actual reason for the exception is the direct casting from cha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
When using character classes ordering seems important but should not be.
eg
[\w\.\-] is different from [\w\-\.]
I will have a look at this along with the infinite loop bug.
Michael
-BEGIN PGP SIGNATURE-
Version: N/A
iQA+AwUBOoutLLPjWznw9
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I think this package would benefit from the addition of
\S for \s
\W for \w
\D for \d
...
I will also have a play with this over the weekend.
-BEGIN PGP SIGNATURE-
Version: N/A
iQA/AwUBOovewbPjWznw9K1HEQLD+gCeL98fKqMkfD5DV3+GW7fueH9CQDwAo