Update character_class_spec.rb

Use a Regexp compatible with Ruby1.8.
This would solve https://github.com/nathansobo/treetop/issues/32.