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