lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Jun 5, 2010 at 7:02 AM, Graham Wakefield <wakefield@mat.ucsb.edu> wrote:
I can't figure out how to convert a string with represented control characters into a string with actual control characters.

The unescape_string() function there does it, and passes the Lua test suite: 

    http://github.com/fab13n/metalua/blob/master/src/compiler/lexer.lua

-- Fabien.