Issue #286 has been updated by gorget. Status changed from Closed to Re-opened Affected version changed from 0.24.4 to 0.25.0
I re-open it to discuss it. ---------------------------------------- Feature #286: Support wildmat/regex matches http://projects.reductivelabs.com/issues/286 Author: admin Status: Re-opened Priority: Normal Assigned to: luke Category: language Target version: unplanned Complexity: Hard Patch: None Affected version: 0.25.0 Keywords: Having wildmat/regex pattern matching for node, case, if, etc would be very powerful. Instead of assuming all strings are one type or another, one possibility would be to assume strings without any meta-chars to be an exact match, those with meta-chars to be interpreted wildmat (globbing), and those prefixed with "re:" (or %r) to be interpreted as regex. This maintains compatibility without surprises for those not using/familiar with regex. wildmat/globbing looks cleaner for common cases (eg "node: farm*" for matching all "farmXXX" hosts), but regex is more precise (thus i enjoy having both). -- 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 -~----------~----~----~----~------~----~------~--~---
