You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/04/20 03:35:40 UTC

[GitHub] [maven-surefire] dsubelman commented on pull request #523: [SUREFIRE-2063] Remove tabs in forked JVM arguments

dsubelman commented on PR #523:
URL: https://github.com/apache/maven-surefire/pull/523#issuecomment-1103436778

   If the test fails with escaping characters `&#09;`, you can try using `String.replaceAll(String, String)` with regex.
   
   Instead of:
   
       return argLine
           .replace( "\n", " " )
           .replace( "\r", " " )
           .replace( "\t", " " );
   
   You can do:
   
       return argLine.replaceAll("\\s+", " ");
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org