| 1003 |
PCRE does not allow \eC to appear in lookbehind assertions |
PCRE does not allow \eC to appear in lookbehind assertions |
| 1004 |
.\" HTML <a href="#lookbehind"> |
.\" HTML <a href="#lookbehind"> |
| 1005 |
.\" </a> |
.\" </a> |
| 1006 |
(described below), |
(described below) |
| 1007 |
.\" |
.\" |
| 1008 |
because in UTF-8 mode this would make it impossible to calculate the length of |
in UTF-8 mode, because this would make it impossible to calculate the length of |
| 1009 |
the lookbehind. |
the lookbehind. |
| 1010 |
.P |
.P |
| 1011 |
In general, the \eC escape sequence is best avoided in UTF-8 mode. However, one |
In general, the \eC escape sequence is best avoided in UTF-8 mode. However, one |
| 1970 |
match. If there are insufficient characters before the current position, the |
match. If there are insufficient characters before the current position, the |
| 1971 |
assertion fails. |
assertion fails. |
| 1972 |
.P |
.P |
| 1973 |
PCRE does not allow the \eC escape (which matches a single byte in UTF-8 mode) |
In UTF-8 mode, PCRE does not allow the \eC escape (which matches a single byte, |
| 1974 |
to appear in lookbehind assertions, because it makes it impossible to calculate |
even in UTF-8 mode) to appear in lookbehind assertions, because it makes it |
| 1975 |
the length of the lookbehind. The \eX and \eR escapes, which can match |
impossible to calculate the length of the lookbehind. The \eX and \eR escapes, |
| 1976 |
different numbers of bytes, are also not permitted. |
which can match different numbers of bytes, are also not permitted. |
| 1977 |
.P |
.P |
| 1978 |
.\" HTML <a href="#subpatternsassubroutines"> |
.\" HTML <a href="#subpatternsassubroutines"> |
| 1979 |
.\" </a> |
.\" </a> |
| 2874 |
.rs |
.rs |
| 2875 |
.sp |
.sp |
| 2876 |
.nf |
.nf |
| 2877 |
Last updated: 14 November 2011 |
Last updated: 19 November 2011 |
| 2878 |
Copyright (c) 1997-2011 University of Cambridge. |
Copyright (c) 1997-2011 University of Cambridge. |
| 2879 |
.fi |
.fi |