grammatica-users
[Top][All Lists]
Advanced

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

Re: [Grammatica-users] Question about regular expressions involving quo


From: William Lahti
Subject: Re: [Grammatica-users] Question about regular expressions involving quoted strings
Date: Thu, 21 May 2009 09:49:52 -0400

On Thu, May 21, 2009 at 4:55 AM, Per Cederberg <address@hidden> wrote:
Here is one that I got to work:

<<"([^"\\]|""|\\.)*">>

Wouldn't that match """" as a single string? Here's what I've been using (I think it came from a Grammatica example somewhere):

<<[\"]([^"\\]|\\.)*[\"]>>

--
rezonant

long name: William Lahti
handle :: rezonant
freenode :: xfury
blog :: http://xfurious.blogspot.com/
site :: http://komodocorp.com/~wilahti

reply via email to

[Prev in Thread] Current Thread [Next in Thread]