Issue #3229 has been updated by Markus Roberts.

Status changed from Ready for Testing to Available In Testing Branch
Assigned to deleted (Brice Figureau)


----------------------------------------
Bug #3229: Case regex are not case-insensitive
http://projects.reductivelabs.com/issues/3229

Author: Brice Figureau
Status: Available In Testing Branch
Priority: Normal
Assigned to: 
Category: language
Target version: 
Affected version: 0.25.4
Keywords: regex case language selector In_testing

Branch: 


By default puppet case or selector statements are case insensitive.
This is done by downcasing both the side of the comparison.

Unfortunately, case regexes are still case sensitive, so the following manifest 
fails:
<pre>
$var = "CaseSensitive"
case $var {
  /CaseSensitive/: {
     notice("worked")
  }
  default: {
    fail "miserably"
  }
}
</pre>

The proposed change is to make sure case or selector regex are insensitive by 
default.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to