bartavelle / language-puppet

A library to work with Puppet manifests, test them and eventually replace everything ruby.
BSD 3-Clause "New" or "Revised" License
51 stars 8 forks source link

regsubst capturing behavior for multiple matches is wrong #119

Closed bartavelle closed 8 years ago

bartavelle commented 9 years ago
$ dist/build/test-evals/test-evals "regsubst('1.2.3.4', '([0-9]+)', '<\1>', 'G')"
<1>.<1>.<1>.<1>