[[:^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.
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 https://rubygems.org/gems/treetop).