Just .* EOF
Would work too. :)
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Terence Parr
Sent: Saturday, March 21, 2009 2:18 PM
To: Sam Barnett-Cormack
Cc: ANTLR Interest Mailing List
Subject: Re: [antlr-interest] proposal: make .* and .+ always nongreedy
On Mar 21, 2009, at 12:16 PM, Sam Barnett-Cormack wrote:
>
> I'm inclined to agree with you, then... is there a need to provide
> an option to allow people to get at the current behaviour if they
> really want to?
they can shoot foot with
( options {greedy=true;} : . )*
:)
Ter
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
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
-~----------~----~----~----~------~----~------~--~---