diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-12-08 23:15:04 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-12-08 23:15:04 +0100 |
commit | 7d25823db5c96e6877dd74158bb9847ec2666268 (patch) | |
tree | 2c2f3bbc9651a3f9b37d3086e889773d13004549 /tex/context/base/lang-hyp.lua | |
parent | aae07c73a75ada5ade71c9e3125df190e3235abc (diff) | |
download | context-7d25823db5c96e6877dd74158bb9847ec2666268.tar.gz |
2014-12-08 22:17:00
Diffstat (limited to 'tex/context/base/lang-hyp.lua')
-rw-r--r-- | tex/context/base/lang-hyp.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/lang-hyp.lua b/tex/context/base/lang-hyp.lua index 58a8bffcf..d6217857b 100644 --- a/tex/context/base/lang-hyp.lua +++ b/tex/context/base/lang-hyp.lua @@ -160,9 +160,12 @@ local function unregister_pattern(patterns,specials,str) specials[k] = nil end +local p_lower = lpeg.patterns.utf8lower + local function register_exception(exceptions,str,specification) - local k = lpegmatch(make_hashkey_e,str) - local v = lpegmatch(make_pattern_e,str) + local l = lpegmatch(p_lower,str) + local k = lpegmatch(make_hashkey_e,l) + local v = lpegmatch(make_pattern_e,l) exceptions[k] = v end |