Simplify ruby*Constant syntax group matching