Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.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