diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-08-25 12:53:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-08-25 12:53:00 +0200 |
commit | e83414526611fee99bb66f0282fb1334c947cdab (patch) | |
tree | 13280ba974e4f9080ff7bc653857083d5818dcbc /tex/context/base/sort-ini.lua | |
parent | bc1e8c26c1c0596eb7410b522bff296fa6e7e2fc (diff) | |
download | context-e83414526611fee99bb66f0282fb1334c947cdab.tar.gz |
beta 2012.08.25 12:53
Diffstat (limited to 'tex/context/base/sort-ini.lua')
-rw-r--r-- | tex/context/base/sort-ini.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/sort-ini.lua b/tex/context/base/sort-ini.lua index 8640ba825..a6181f5e4 100644 --- a/tex/context/base/sort-ini.lua +++ b/tex/context/base/sort-ini.lua @@ -527,7 +527,7 @@ local function numify(s) return utfchar(s) end -function sorters.strip(str) -- todo: only letters and such utf.gsub("([^%w%d])","") +function sorters.strip(str) -- todo: only letters and such if str then str = gsub(str,"\\[\"\'~^`]*","") -- \"e str = gsub(str,"\\%S*","") -- the rest |