[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Matching a character or the end of a line/string
- From: Geoff Leyland <geoff_leyland@...>
- Date: Fri, 29 Jun 2012 11:37:53 +1200
On 29/06/2012, at 11:00 AM, Andrew Starks wrote:
> The frontier pattern doesn't help if you need to escape inner quotes. Like:
>
> " test ""this is cool!"""
I thought I'd done that with a pattern, but it was just that I hadn't tested it properly. Now I iterate through the '""'s in the same manner as [1]. Not pretty, but it might work.
[1] http://lua-users.org/wiki/CsvUtils