[Dev-luatex] string.explode()

Paul Isambert zappathustra at free.fr
Sun Jan 1 10:32:34 CET 2012

Reinhard Kotucha <reinhard.kotucha at web.de> a écrit:
> Hi Taco,
> though luatex isn't frozen yet, I think that many people are using it
> already and drastic changes are not desirable.
> There is one thing which could probably be improved without breaking
> existing scripts, as far as I can see:
>   string.explode(foo, ' +')  
> expects that ' ' is a space token (ASCII 0x20).  Is it possible to
> change string.explode() so that ' ' can be either a space token (ASCII
> 0x20) or a tabulator (ASCII 0x09) without breaking existing scripts?

By definition, this would break those scripts that use string.explode()
expecting spaces aren't tabs. Personally, I wouldn't mind if the function
was modified in order to understand regular expressions, although that
would quite clearly be incompatible with previous behavior.


More information about the dev-luatex mailing list