Fix all but one of the P5Regex tests on JVM.