End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
ACL::ACLEntry#dot_pat_str
dot_pat_str(str)
lib/drb/acl.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/drb/acl.rb, line 79
def dot_pat_str(str)
list = str.split('.').collect { |s|
(s == '*') ? '.+' : s
}
list.join("\\.")
end
Creates a regular expression to match IPv4 addresses