fix java 6 problem

use google regex stuff, library available here:
https://github.com/tony19/named-regexp

makes java 6 possible i think