|
While we are on the subject of regex, could we think about os.files() (lposix) and io.lines() with an extra optional regex parameter? e.g. -- select lines with regex for line in io.lines("filename", "^%d") do end -- select files with regex for line in os.files("/", "%.lua$") do end db