lua-users home
lua-l archive

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


On Thu, Jan 06, 2011 at 02:00:17PM +0200, Peter Cawley wrote:
> On Thu, Jan 6, 2011 at 11:49 AM, Dirk Laurie <dpl@sun.ac.za> wrote:
> > Once those bytes are inside an adequate pair of
> > delimiters they're just bytes.
> 
> But you still need to consider edge cases like a newline being trimmed
> from the start of a long string, and (unescaped) \r\n being turned
> into \n.
> 
You're right.  More complex than I thought.

Dirk