lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

"steve donovan" <> writes:
> The only really reliable method is not to use patterns; use
> p:sub(i,i) for i = #p,1 and check for slash/backslash.
> A similar problem involves finding extensions; Linux paths
> are full of dots that don't mean extensions!

Eh?  Why do you think "the only reliable way is not to use patterns"?


Neighbor, n. One whom we are commanded to love as ourselves, and who does all
he knows how to make us disobedient.