Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/alt/ruby27/share/ruby/csv
File: match_p.rb
# frozen_string_literal: true
[0] Fix | Delete
[1] Fix | Delete
# This provides String#match? and Regexp#match? for Ruby 2.3.
[2] Fix | Delete
unless String.method_defined?(:match?)
[3] Fix | Delete
class CSV
[4] Fix | Delete
module MatchP
[5] Fix | Delete
refine String do
[6] Fix | Delete
def match?(pattern)
[7] Fix | Delete
self =~ pattern
[8] Fix | Delete
end
[9] Fix | Delete
end
[10] Fix | Delete
[11] Fix | Delete
refine Regexp do
[12] Fix | Delete
def match?(string)
[13] Fix | Delete
self =~ string
[14] Fix | Delete
end
[15] Fix | Delete
end
[16] Fix | Delete
end
[17] Fix | Delete
end
[18] Fix | Delete
end
[19] Fix | Delete
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function