JDK 5 doesn&#39;t handle lookbehind assertions correctly if they contain alternatives. The fallout from this bug has been cleared up by my release <a href="https://github.com/droolsjbpm/droolsjbpm/commit/f3a50273c91ac697b6f1a0936ce96a44c3b38250">https://github.com/droolsjbpm/droolsjbpm/commit/f3a50273c91ac697b6f1a0936ce96a44c3b38250</a><br>
<br>I have added comments to clarify the nature of the &quot;strange&quot; workaround regex part that&#39;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.<br>
<br>Cheers<br>Wolfgang<br><br>