boolean variableName(String name) {
    String re = "[a-zA-Z_][0-9a-zA-Z_]*";
    Pattern pattern = Pattern.compile(re);
    
    Matcher matcher = pattern.matcher(name);
    return matcher.matches();
}
