Browse Source

minor tweaking

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271506 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 23 years ago
parent
commit
13fd7b8d53
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      docs/manual/OptionalTasks/replaceregexp.html

+ 3
- 3
docs/manual/OptionalTasks/replaceregexp.html View File

@@ -27,15 +27,15 @@ but you will still need the library itself.</p>
There are cross-platform issues for matches related to line terminator. There are cross-platform issues for matches related to line terminator.
For example if you use $ to anchor your regular expression on the end of a line For example if you use $ to anchor your regular expression on the end of a line
the results might be very different depending on both your platform and the regular the results might be very different depending on both your platform and the regular
expression library you use. It is 'highly recommended' to tests your pattern on
Unix and Windows platforms before you rely on it.
expression library you use. It is 'highly recommended' that you test your pattern on
both Unix and Windows platforms before you rely on it.
<ul> <ul>
<li>Jakarta Oro defines a line terminator as '\n' and is consistent with Perl.</li> <li>Jakarta Oro defines a line terminator as '\n' and is consistent with Perl.</li>
<li>Jakarta RegExp uses a system-dependant line terminator.</li> <li>Jakarta RegExp uses a system-dependant line terminator.</li>
<li>JDK 1.4 uses '\n', '\r\n', '\u0085', '\u2028', '\u2029' as a default <li>JDK 1.4 uses '\n', '\r\n', '\u0085', '\u2028', '\u2029' as a default
but is configured in the wrapper to use only '\n' (UNIX_LINE)</li> but is configured in the wrapper to use only '\n' (UNIX_LINE)</li>
</ul> </ul>
It is <b>strongly</b> recommended to use Jakarta Oro.
We <b>strongly</b> recommend that you use Jakarta Oro.
</i> </i>
</p> </p>




Loading…
Cancel
Save