Title: Message Title
Dominik Zyla commented on an issue
Puppet / Bug PUP-3083
Problem with parsing regular expressions.
It seems the way regular expressions are now parsed has been changed and I presume it wasn't on purpose.

Here's how it used to work before and what I consider as expected:

{code:title=On 3.4.3}
[ec2-user@instance-CN5L5XeZKd ~]$ cat test.pp
$test = 1

case $test {
  /^\d+$/: {
    fail('MATCH')
  }
  default: {
    fail("Not MATCH")
  }
} ...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to