File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ local dec_octet = (
1616
1717local IPv4_methods = {}
1818local IPv4_mt = {
19+ __name = " lpeg_patterns.IPv4" ;
1920 __index = IPv4_methods ;
2021}
2122
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ local IPv4address = require "lpeg_patterns.IPv4".IPv4address
1717
1818local IPv6_methods = {}
1919local IPv6_mt = {
20+ __name = " lpeg_patterns.IPv6" ;
2021 __index = IPv6_methods ;
2122}
2223
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ _M.userinfo = Cs((unreserved + _M.pct_encoded + _M.sub_delims + P":")^0) -- 3.2.
4141
4242-- Host 3.2.2
4343
44- local IPvFuture_mt = {}
44+ local IPvFuture_mt = {
45+ __name = " lpeg_patterns.IPvFuture" ;
46+ }
4547function IPvFuture_mt :__tostring ()
4648 return string.format (" v%x.%s" , self .version , self .string )
4749end
You can’t perform that action at this time.
0 commit comments