diff --git a/CHANGELOG.md b/CHANGELOG.md index d323fbf..a59932a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ +2016-05-04 14:43:20 -0700 Adam Crews + + * Fixing regex to be simpler and more accurate (HEAD -> fix_regex) + 2016-04-25 22:51:27 -0700 Adam Crews - * Fix concat issues (HEAD -> concat_compat) + * Fix concat issues (origin/concat_compat, concat_compat) 2016-04-06 13:30:28 -0700 Adam Crews diff --git a/manifests/inputs/monitor.pp b/manifests/inputs/monitor.pp index 24f17a4..68d1288 100644 --- a/manifests/inputs/monitor.pp +++ b/manifests/inputs/monitor.pp @@ -94,7 +94,7 @@ validate_string($index_and_forward_routing) - $_title = regsubst($title, '(\s+|\*|:|\\|/)', '_', 'G') + $_title = regsubst($title, '[^A-Za-z0-9]', '_', 'G') concat::fragment { $_title: target => $target,