Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynetics committed Jan 19, 2023
1 parent 04d49cb commit acc4755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/regexp_parser/expression/methods/match_length.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_regexp
end
else
def test_regexp
@test_regexp ||= /^#{to_re}$/.tap { |r| def r.match?(s); !!r.match(s) end }
@test_regexp ||= /^#{to_re}$/.tap { |r| def r.match?(s); !!match(s) end }
end
end
end
Expand Down

0 comments on commit acc4755

Please sign in to comment.