[rules-dev] Regex bug in JDK 5
Wolfgang Laun
wolfgang.laun at gmail.com
Sat Dec 25 05:57:04 EST 2010
JDK 5 doesn't handle lookbehind assertions correctly if they contain
alternatives. The fallout from this bug has been cleared up by my release
https://github.com/droolsjbpm/droolsjbpm/commit/f3a50273c91ac697b6f1a0936ce96a44c3b38250
I have added comments to clarify the nature of the "strange" workaround
regex part that's now being used, which also affects the JUnit tests. If JDK
5 is dropped from the has-to-be-compatible-with list of Java releases, the
simpler regex construct might be used again.
Cheers
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20101225/4d7e70ff/attachment.html
More information about the rules-dev
mailing list