Fix regex in ScriptHandler.isValidName().

A bare / was in the character class, which may _work_, but makes
IDEs complain loudly. Escape the slash character to make it a
proper valid regex.