jmporterog / maven-replacer-plugin

Automatically exported from code.google.com/p/maven-replacer-plugin
MIT License
0 stars 0 forks source link

Multiline replace support #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great to be able to specify the multiline regexp flags:
Pattern.MULTILINE and Pattern.DOTALL

i.e. instead of 
    contents.replaceAll(token, valueToReplaceWith)
in bakersoftware.maven_replacer_plugin.TokenReplacer

to do the following
    Pattern.compile(token, flags).matcher(str).replaceAll(valueToReplaceWith)
and set flags according to parameters.

Original issue reported on code.google.com by ip1...@gmail.com on 23 Dec 2009 at 12:48

GoogleCodeExporter commented 9 years ago
No problems, I will add this as a optional parameter in the 1.2 release. 
(Should be out 
in RC2).
I will update this Issue once it is released.

Original comment by baker.st...@gmail.com on 24 Dec 2009 at 1:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Included in 1.2 release. See UsageGuide

Original comment by baker.st...@gmail.com on 31 Dec 2009 at 6:22

GoogleCodeExporter commented 9 years ago
Just issue clean up.

Original comment by baker.st...@gmail.com on 17 Sep 2012 at 12:40