boolean (RegExpNamedGroupRef ref) { if (ref.isNamedGroupRef()) { final String version = getGroovyVersion(ref); return version != null && version.compareTo(GroovyConfigUtils.GROOVY2_0) >= 0; } return false; }