Return to Snippet

Revision: 33948
at October 15, 2010 02:38 by peceps


Initial Code
// check normal variable name
if (!variableName.matches("^[a-zA-Z][a-zA-Z0-9]*?$")) {
  return variableName;
}

Initial URL

                                

Initial Description

                                

Initial Title
Regex to check valid variable name

Initial Tags
regex

Initial Language
Java