X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=pret-lam.lua;h=5769a312d94af372d5f319e8300c4550a8cbe3a1;hp=cf50e87408e1d880d98b2c506a4207879431b2ad;hb=99442c2b5e3f29275d53c14969741c477ecc30af;hpb=0028507a3d326add5d45d20cfe750ef964d9b3f0 diff --git a/pret-lam.lua b/pret-lam.lua index cf50e87..5769a31 100644 --- a/pret-lam.lua +++ b/pret-lam.lua @@ -64,7 +64,7 @@ end function buffers.visualizers.lam.take_word(str) -- A word must always start with a-z (in particular, λ is not a valid -- start of a word). - res, newstr = utf.match(str, "^([a-z][%a%d_]+)(.*)") + res, newstr = utf.match(str, "^([a-zA-Z][%a%d_]+)(.*)") return res, newstr or str end