|
|
@@ -27,15 +27,15 @@ but you will still need the library itself.</p> |
|
|
|
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. |
|
|
|
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> |
|
|
|
<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>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> |
|
|
|
</ul> |
|
|
|
It is <b>strongly</b> recommended to use Jakarta Oro. |
|
|
|
We <b>strongly</b> recommend that you use Jakarta Oro. |
|
|
|
</i> |
|
|
|
</p> |
|
|
|
|
|
|
|