public boolean isDuplicateGroupNamesAllowed(final @NotNull RegExpGroup group) {
    final RegExpLanguageHost host = findRegExpHost(group);
    return host == null || host.isDuplicateGroupNamesAllowed(group);
  }
public boolean isDuplicateGroupNamesAllowed(final @NotNull RegExpGroup group)