code: public static final KeyPressHandler getRegExKeyPressHandler(final String pregEx) {
      if (StringUtils.isEmpty(pregEx)) {
        return null;
      }
      RegExKeyPressHandler result = HandlerFactory.REG_EX_KEY_PRESS_HANDLER_MAP.get(pregEx);
      if (result == null) {
        result = new RegExKeyPressHandler(pregEx);
      }
      return result;
    }
docs: get a key press handler which allows all characters which could match a reg ex.
  
  @param pregEx to check
  @return key press handler