Skip to content

Commit 480f4d5

Browse files
k-takataheadius
authored andcommitted
[Bug #13671] Fix that "ss" in look-behind causes syntax error
Fixes k-takata/Onigmo#92. This fix was ported from oniguruma: kkos/oniguruma@257082d k-takata/Onigmo@b1a5445
1 parent a36e46d commit 480f4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language/regexp_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
/foo.(?<=\d)/.match("fooA foo1").to_a.should == ["foo1"]
113113
end
114114

115-
ruby_bug "#13671", ""..."3.6" do # https://bugs.ruby-lang.org/issues/13671
115+
ruby_bug "#13671", ""..."3.5" do # https://bugs.ruby-lang.org/issues/13671
116116
it "handles a lookbehind with ss characters" do
117117
r = Regexp.new("(?<!dss)", Regexp::IGNORECASE)
118118
r.should =~ "✨"

0 commit comments

Comments
 (0)