/[pcre]/code/trunk/doc/pcrepattern.3
ViewVC logotype

Diff of /code/trunk/doc/pcrepattern.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 246 by ph10, Fri Sep 14 10:22:03 2007 UTC revision 247 by ph10, Mon Sep 17 09:38:32 2007 UTC
# Line 89  this can be changed; see the description Line 89  this can be changed; see the description
89  .\" </a>  .\" </a>
90  "Newline sequences"  "Newline sequences"
91  .\"  .\"
92  below. A change of \eR setting can be combined with a change of newline  below. A change of \eR setting can be combined with a change of newline
93  convention.  convention.
94  .  .
95  .  .
# Line 427  recognized. Line 427  recognized.
427  .P  .P
428  It is possible to restrict \eR to match only CR, LF, or CRLF (instead of the  It is possible to restrict \eR to match only CR, LF, or CRLF (instead of the
429  complete set of Unicode line endings) by setting the option PCRE_BSR_ANYCRLF  complete set of Unicode line endings) by setting the option PCRE_BSR_ANYCRLF
430  either at compile time or when the pattern is matched. (BSR is an abbrevation  either at compile time or when the pattern is matched. (BSR is an abbrevation
431  for "backslash R".) This can be made the default when PCRE is built; if this is  for "backslash R".) This can be made the default when PCRE is built; if this is
432  the case, the other behaviour can be requested via the PCRE_BSR_UNICODE option.  the case, the other behaviour can be requested via the PCRE_BSR_UNICODE option.
433  It is also possible to specify these settings by starting a pattern string with  It is also possible to specify these settings by starting a pattern string with
# Line 440  These override the default and the optio Line 440  These override the default and the optio
440  they can be overridden by options given to \fBpcre_exec()\fP. Note that these  they can be overridden by options given to \fBpcre_exec()\fP. Note that these
441  special settings, which are not Perl-compatible, are recognized only at the  special settings, which are not Perl-compatible, are recognized only at the
442  very start of a pattern, and that they must be in upper case. If more than one  very start of a pattern, and that they must be in upper case. If more than one
443  of them is present, the last one is used. They can be combined with a change of  of them is present, the last one is used. They can be combined with a change of
444  newline convention, for example, a pattern can start with:  newline convention, for example, a pattern can start with:
445  .sp  .sp
446    (*ANY)(*BSR_ANYCRLF)    (*ANY)(*BSR_ANYCRLF)

Legend:
Removed from v.246  
changed lines
  Added in v.247

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12