A Java library for variable pattern matching with Strings