A few concerns that have occurred to me: * Can regular expressions be assigned to variables? * Can the appear in arrays? * Can they be passed as arguments? * Are case branch bodies always surrounded by braces?
All of these are trivial to deal with but since we prohibit everything that isn't explicitly allowed, I just want to ask these sorts of questions now, not later. Sent via BlackBerry from T-Mobile -----Original Message----- From: Luke Kanies <[email protected]> Date: Fri, 25 Sep 2009 15:04:05 To: <[email protected]> Subject: [Puppet-dev] Re: [PATCH/puppet 1/1] Proposed alternative solution for #2664 (REGEX / DIV lexing) On Sep 25, 2009, at 11:41 AM, Markus Roberts wrote: > I would not object (and would in fact welcome) additional tests or > ideas for tests for the DIV / REGEX lexing issue. I'm confident > that we've handled the cases discussed on the ticket and in these > threads (that's where I gleened the examples for the tests) but I > don't know all the corners of the language. As the bias is towards > lexing as DIV the most useful would be unexpected but valid contexts > for a REGEX to appear. The additional tests you provided in the second run were sufficient. -- Hanlon's razor: Never attribute to malice that which can adequately be explained by stupidity. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
