[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Making luaconf.h settings available in Lua
- From: David Manura <dm.lua@...>
- Date: Sat, 26 Feb 2011 18:31:35 -0500
On Sat, Feb 26, 2011 at 6:22 PM, Reuben Thomas <rrt@sc3d.org> wrote:
> local _
> _, _, dirsep, pathsep, path_mark, execdir, igmark =
> string.find (package.config,
> "^([^\n]+)\n([^\n]+)\n([^\n]+)\n([^\n]+)\n([^\n]+)")
Why not string.match?
> io.dirsep, io.pathsep, io.path_mark, io.execdir, io.igmark
Arguably, these are better placed in package than in io (if one
modifies standard packages at all).