On Tue, 2009-09-22 at 14:34 -0700, Luke Kanies wrote:
> On Sep 22, 2009, at 12:31 AM, Brice Figureau wrote:
> 
> >
> > On Tue, 2009-09-22 at 08:38 +0200, David Schmitt wrote:
> >> [email protected] wrote:
> >>> The idea is that x/y/z (chained division) is rarer than regexp--in  
> >>> part because nobody trusts My Dear Aunt Sally that far.
> >>>
> >>> So it gets rid of the problem that was originally discovered but  
> >>> not the root cause Brice realised behind it..
> >>>
> >>> As for context sensitivity, I'd favour positive (regular  
> >>> expression can occur in specific places) to negative.
> >>
> >> +1. Or use perl's m// to denote a matching regexp. That would get  
> >> rid of
> >> the ambiguity at the lexing level.
> >
> > Unfortunately, not always:
> >
> > $var = $thisvarendswithm/4/4
> 
> That should lex fine -- the variable will lex, then the slash.

Yes, I realized that when reading David's e-mail.

Would this change be possible for 0.25.1? 
It breaks 0.25.0 backward compatibilities but solves the issue in a
perfect way.
-- 
Brice Figureau
Follow the latest Puppet Community evolutions on www.planetpuppet.org!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to