Java 1.7 added named groups, mentioned here https://github.com/AbrarSyed/GMCP/issues/21#issuecomment-27169899, which the 1.6 regexps don't support but the named regexp libary does.