RegExpMatch uses a static instance of Perl5Compiler, while the JavaDoc of Perl5Compiler states that it's not threadsafe.
We are getting random errors (invalid patterns, array index out of bounds, ...) from independent expect4java instances in different threads.
Further investigation led me down the road to the JavaDoc of Perl5Compiler and the static instance of it in RegExpMatch.java.
Best Regards
Daniel