src/main/java/org/mvel2/util/ParseTools.java
public static boolean isNotValidNameorLabel(String name) {
    for (char c : name.toCharArray()) {
      if (c == '.') return true;
      else if (!isIdentifierPart(c)) return true;
    }
    return false;
  }
/**
   * Check if the specfied string represents a valid name of label.
   *
   * @param name -
   * @return -
   */
Check if the specfied string represents a valid name of label.
@param name
@return
Check if the specfied string represents a valid name of label . @param name @return
public static boolean isNotValidNameorLabel(String name) {
    for (char c : name.toCharArray()) {
      if (c == '.') return true;
      else if (!isIdentifierPart(c)) return true;
    }
    return false;
  }
public static boolean isNotValidNameorLabel ( String name ) { for ( char c : name . toCharArray ( ) ) { if ( c == '.' ) return true ; else if ( ! isIdentifierPart ( c ) ) return true ; } return false ; }
Check if the specfied string represents a valid name of label.
Check if the specfied string represents a valid name of label .