Thanks Gordon, That doesn't work either. I think I need to separate out just this fragment into its own grammar to ensure that the rest of the grammar isn't having any unexpected side effects.
I will report back once I have isolated these two rules... Thanks! Sent from my iPad On 3 Nov 2010, at 19:25, Gordon Tyler <[email protected]> wrote: >> QUOTED_TEXT : '\"' ( options {greedy=false;} : .)* '\"' > > Try this: > > QUOTED_TEXT : '"' (~'"')* '"' > > In English: Match '"', then match zero or more characters which are not '"', > then match '"'. > > Ciao, > Gordon > List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
