did you know: graal, a thing that lets you run various other languages on the jvm, has an implementation of regex
that's right, it compiles regexes to java bytecode
the reason is some languages need perl-compatible regular expressions and the Pattern class offered by Java itself is not perl-compatible