From 4e15b5f43484e753f58541fe054362688543e546 Mon Sep 17 00:00:00 2001
From: Stephane Bailliez
org.apache.tools.ant.util.regexp.Regexp
. Ant comes with
-implementations for
-the java.util.regex package of JDK 1.4,
-jakarta-regexp
+implementations for
+the java.util.regex package of JDK 1.4,
+jakarta-regexp
and jakarta-ORO,
but you will still need the library itself.
+
+
+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
+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.
+
+
+It is strongly recommended to use Jakarta Oro.
+
+
<replaceregexp file="${src}/build.properties" +<replaceregexp file="${src}/build.properties" match="OldProperty=(.*)" replace="NewProperty=\1" byline="true" /> @@ -76,7 +92,7 @@ but you will still need the library itself. with "NewProperty" in a properties file, preserving the existing value, in the file${src}/build.properties
Parameters specified as nested elements
-This task supports a nested FileSet +
This task supports a nested FileSet element.
This task supports a nested RegularExpression element to specify the regular expression. You can use this element to refer to a previously