169 |
supported. |
supported. |
170 |
|
|
171 |
. You can build PCRE to recognize either CR or LF or the sequence CRLF or any |
. You can build PCRE to recognize either CR or LF or the sequence CRLF or any |
172 |
of the Unicode newline sequences as indicating the end of a line. Whatever |
of the preceding, or any of the Unicode newline sequences as indicating the |
173 |
you specify at build time is the default; the caller of PCRE can change the |
end of a line. Whatever you specify at build time is the default; the caller |
174 |
selection at run time. The default newline indicator is a single LF character |
of PCRE can change the selection at run time. The default newline indicator |
175 |
(the Unix standard). You can specify the default newline indicator by adding |
is a single LF character (the Unix standard). You can specify the default |
176 |
--newline-is-cr or --newline-is-lf or --newline-is-crlf or --newline-is-any |
newline indicator by adding --enable-newline-is-cr or --enable-newline-is-lf |
177 |
to the "configure" command, respectively. |
or --enable-newline-is-crlf or --enable-newline-is-anycrlf or |
178 |
|
--enable-newline-is-any to the "configure" command, respectively. |
179 |
If you specify --newline-is-cr or --newline-is-crlf, some of the standard |
|
180 |
tests will fail, because the lines in the test files end with LF. Even if |
If you specify --enable-newline-is-cr or --enable-newline-is-crlf, some of |
181 |
the files are edited to change the line endings, there are likely to be some |
the standard tests will fail, because the lines in the test files end with |
182 |
failures. With --newline-is-any, many tests should succeed, but there may be |
LF. Even if the files are edited to change the line endings, there are likely |
183 |
some failures. |
to be some failures. With --enable-newline-is-anycrlf or |
184 |
|
--enable-newline-is-any, many tests should succeed, but there may be some |
185 |
|
failures. |
186 |
|
|
187 |
. When called via the POSIX interface, PCRE uses malloc() to get additional |
. When called via the POSIX interface, PCRE uses malloc() to get additional |
188 |
storage for processing capturing parentheses if there are more than 10 of |
storage for processing capturing parentheses if there are more than 10 of |
711 |
Philip Hazel |
Philip Hazel |
712 |
Email local part: ph10 |
Email local part: ph10 |
713 |
Email domain: cam.ac.uk |
Email domain: cam.ac.uk |
714 |
Last updated: 29 March 2007 |
Last updated: 16 April 2007 |