diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-09-10 00:57:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-09-10 00:57:00 +0200 |
commit | b42e052e7d5c459d3242184be41d5f23761d6930 (patch) | |
tree | afb5226c89e6d5ae30a3e71dc0a5dd7381f0c3c2 /tex/generic | |
parent | 3e104e2078f619b5f73eb5983f2308a672c18c5f (diff) | |
download | context-b42e052e7d5c459d3242184be41d5f23761d6930.tar.gz |
beta 2012.09.10 00:57
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index 1140ff916..4700859ff 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 09/06/12 23:03:51 +-- merge date : 09/10/12 00:57:08 do -- begin closure to overcome local limits and interference @@ -132,6 +132,14 @@ string.unquote = string.unquoted string.itself = function(s) return s end +-- also handy (see utf variant) + +local pattern = Ct(C(1)^0) + +function string.totable(str) + return lpegmatch(pattern,str) +end + end -- closure do -- begin closure to overcome local limits and interference |