fix regular expression in ClassGen#is_constant_defined?
Merge pull request #2335 from ptomulik/fix/classgen_regexp

fix regular expression in ClassGen#is_constant_defined?