3 so
= string.lower(arg
[1])
4 for e
in string.gmatch(string.gsub(package
.cpath
,"\\","/"), "[^;]*") do
5 io
.stderr
:write("cpath entry: "..e
.."\n")
6 l
,s
= string.match(e
, "^(/.*)/%?(%.%a+)$")
8 l
,s
= string.match(e
, "^(%a:/.*)/%?(%.%a+)$")
10 if l
~= nil and string.lower(s
) ~= ".lua" then
11 if so
== "" or string.lower(s
) == so
then