From: Tobias Reif Date: 2002-01-08T00:07:58+09:00 Subject: regex/BNF for class names Hi, what's the regex or BNF for class names? Are the allowed characters and sequences the same that are allowed for constants? On http://www.ruby-lang.org/en/man-1.4/yacc.html I can't find 'constant', only class IDENTIFIER [`<' IDENTIFIER] and IDENTIFIER is the sqeunce of characters in the pattern of /[a-zA-Z_][a-zA-Z0-9_]*/ , but AFAIK constants and class names have to start with an uppercase char. So are class names /[A-Z_][a-zA-Z0-9_]*/ ? Or are more characters allowed? Tobi -- http://www.pinkjuice.com/