docs: public void setRegExp(final String pattern,
                            final String invalidCharactersInNameErrorMessage,
                            final String invalidCharacterTypedMessage) {
          regExp = RegExp.compile(pattern);
          this.invalidCharactersInNameErrorMessage = invalidCharactersInNameErrorMessage;
          this.invalidCharacterTypedMessage = invalidCharacterTypedMessage;
      }