Permalink
Browse files

Merge pull request #36 from boutil/patch-1

Use a Regexp compatible with Ruby1.8.
  • Loading branch information...
2 parents d037cce + c6fd111 commit 4c071be76a25e9e305cad5fa2a992e568775737f @cjheath committed Jun 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/compiler/character_class_spec.rb
@@ -86,7 +86,7 @@ module ModFoo
end
describe "a character class with a negated POSIX bracket expression" do
- testing_expression "[[:^space:]]"
+ testing_expression "[^[:space:]]"
it "matches a character outside the negated class" do
parse('a').should_not be_nil
end

0 comments on commit 4c071be

Please sign in to comment.