diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-28 05:18:05 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-28 05:18:05 -0700 |
commit | fc30e4ca60ec1ede81425056eae2143497a7833f (patch) | |
tree | 7689a8c24ddc073466ad2e2d8430cbf0e5e7fda7 /luaotfload-database.lua | |
parent | 515a4cf2df2d070af12bf6e4d332cd906d4dd031 (diff) | |
parent | 23686faaa0861213d61ec22400bb603684324e5e (diff) | |
download | luaotfload-fc30e4ca60ec1ede81425056eae2143497a7833f.tar.gz |
Merge pull request #115 from phi-gamma/master
update docs; excise diagnostics from the runner script
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r-- | luaotfload-database.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua index a49e575..a0a532e 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -117,9 +117,17 @@ end local report = logs.names_report +names.patterns = { } +local patterns = names.patterns + local trailingslashes = P"/"^1 * P(-1) local stripslashes = C((1 - trailingslashes)^0) -names.patterns = { stripslashes = stripslashes } +patterns.stripslashes = stripslashes + +local comma = P"," +local noncomma = 1-comma +local splitcomma = Ct((C(noncomma^1) + comma)^1) +patterns.splitcomma = splitcomma --[[doc-- We use the functions in the cache.* namespace that come with the |