public boolean isValidNamedCharacter(final @NotNull RegExpNamedCharacter namedCharacter) {
    final RegExpLanguageHost host = findRegExpHost(namedCharacter);
    return host == null || host.isValidNamedCharacter(namedCharacter);
  }
public boolean isValidNamedCharacter(final @NotNull RegExpNamedCharacter namedCharacter)