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
Variablenames are longest match, no? Regards, DavidS --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
