You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2024/11/28 20:12:00 UTC
[jira] [Closed] (MANTRUN-234) replaceregexp match $ is splitting eol character
[ https://issues.apache.org/jira/browse/MANTRUN-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold closed MANTRUN-234.
-----------------------------------------
> 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
> Priority: Major
> Labels: waiting-for-feedback
>
> 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.20.10#820010)