You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Notenboom (Jira)" <ji...@apache.org> on 2021/11/04 16:11:00 UTC
[jira] [Created] (MANTRUN-234) replaceregexp match $ is splitting
eol character
Christian Notenboom created MANTRUN-234:
-------------------------------------------
Summary: replaceregexp match $ is splitting eol character
Key: MANTRUN-234
URL: https://issues.apache.org/jira/browse/MANTRUN-234
Project: Maven Antrun Plugin
Issue Type: Bug
Reporter: Christian Notenboom
Since 3.0.0 it seems the replaceregexp is not working correctly when used with match="$". The result is that the eol is split.
replaceregexp input
{code:java}
<replaceregexp file="${inputFile}" match="$" replace="${line.separator}-extratext" />{code}
inputFile:
{noformat}
blaCRLF{noformat}
resulting outputFile:
{noformat}
blaCR
CRLF
extratextLF{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)