public boolean addRegex(final String regex){
  if (regex != null && !regex.isEmpty()) {
    return regexList.add(regex);
  }
  return false;
}

public boolean addRegex ( final String regex ) { if ( regex != null && ! regex . isEmpty ( ) ) { return regexList . add ( regex ) ; } return false ; }
adds ( tag ) name or a regular search expression
