Named groups fix

Matcher(string) is being used rather than Matcher(int) (at the very
least on OpenBD)
Merge pull request #24 from GreatS/master

Javacast fix for OpenBD/new versions of java (dunno which it is)