3rd argument to Regexp.new is deprecated
Closed this issue · 1 comments
jacquesn commented
css_parser-1.12.0/lib/css_parser/regexps.rb:11: warning: 3rd argument to Regexp.new is deprecated and will be removed in Ruby 3.3; use 2nd argument instead
Pretty self-explanatory, but the CssParser
module calls Regexp.new
in several places with a third argument. Use of the third argument is deprecated in Ruby 3.2.0.
grosser commented
can you make a PR to fix it ?