Removed named groups from regex for jdk6 environments. named groups are only supported in jdk7