public boolean matchName(String regexp) throws IllegalArgumentException {
    if (StringUtil.isEmpty(regexp)) {
      throw new IllegalArgumentException(
        "Can't perform regular expression since the given input is empty. Check the Method body velocity code: regexp='" + regexp + "'");
    }

    return name.matches(regexp);
  }
public boolean matchName(String regexp)