[luatex] Off topic: A quiz

Patrick Gundlach patrick at gundla.ch
Thu Dec 12 09:55:42 CET 2013



> space
> not a space


that was the easy part... Now the question is "why"... (Its clear when you add anchors ^ and $ to the pattern). 

This was a bug in my software. I converted characters from a source file into nodes (glue, glyph, ...) and had something like that:


    for s in string.utfvalues(str) do
        local char = unicode.utf8.char(s)
	if s == 10 then
             ...
 	elseif match(char,"%s") then
             ...
        end
    end

and guess which kind of characters I was unable to display.


Patrick





More information about the luatex mailing list