Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
Fixing regex to be simpler and more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcrews committed May 4, 2016
1 parent fbd16c7 commit 914e74e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion manifests/inputs/monitor.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 914e74e

Please sign in to comment.