[antlr-interest] How to have strings enclosed in " and/or "

matthew ford Matthew.Ford at forward.com.au
Fri Dec 10 02:43:09 PST 2004


Yes I do
I stop the string when I meet
either "  or "  by themselves
if I meet
"" or "" or "" or ""
Then this is not the end of the string just an escaped quote
matthew

----- Original Message ----- 
From: "Terence Parr" <parrt at cs.usfca.edu>
To: <antlr-interest at yahoogroups.com>
Sent: Friday, December 10, 2004 8:32 AM
Subject: Re: [antlr-interest] How to have strings enclosed in " and/or
&quot;


>
>
> On Dec 9, 2004, at 11:36 AM, matthew ford wrote:
>
> >
> > Hi Ter,
> > What ambiguity do you see that I don't? Both  tokens mean the same  "
> > = =
> > &quot;
> > Perhaps I am too close the problem
>
> I just meant that you really don't know when to stop a string, do you?
>
> Ter
> --
> CS Professor & Grad Director, University of San Francisco
> Creator, ANTLR Parser Generator, http://www.antlr.org
> Cofounder, http://www.jguru.com
> Cofounder, http://www.knowspam.net enjoy email again!
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list