\v inside regexps is not supported by ICU
--- MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb 2010-03-18 05:12:46 UTC (rev 3798)
+++ MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb 2010-03-18 05:13:12 UTC (rev 3799)
@@ -4,7 +4,9 @@
describe "Regexps with escape characters" do
it "they're supported" do
/\t/.match("\t").to_a.should == ["\t"] # horizontal tab
- /\v/.match("\v").to_a.should == ["\v"] # vertical tab
+ not_compliant_on :macruby do
+ /\v/.match("\v").to_a.should == ["\v"] # vertical tab
+ end
/\n/.match("\n").to_a.should == ["\n"] # newline
/\r/.match("\r").to_a.should == ["\r"] # return
/\f/.match("\f").to_a.should == ["\f"] # form feed