lua-users home
lua-l archive

Re: request for isprint character class code in string.gsub patterns

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


> This is the job of %q in string.format. I think
> support for
> non-printable characters needs to be added to %q.
Also "\n" gets translated into "\\\n", so it takes an
additional gsub("\n", "n") to make the output a
one-liner.
--
Wim
		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

AltStyle によって変換されたページ (->オリジナル) /