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