Use a Regexp compatible with Ruby1.8. #36

merged 1 commit into from Jun 20, 2013

2 participants


[[:^space:]] is not a valid Regexp character class for Ruby1.8. This patch changes it to the equivalent [^[:space:]].
This would solve #32 issue with specs.

@boutil boutil Update character_class_spec.rb
Use a Regexp compatible with Ruby1.8.
This would solve nathansobo#32.

Thankyou, but in future please direct pull requests to the project homepage (see

@cjheath cjheath merged commit 4c071be into nathansobo:master Jun 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment