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

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

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

revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC revision 745 by ph10, Mon Nov 14 11:41:03 2011 UTC
# Line 643  character). Thus, the pattern AB]CD beco Line 643  character). Thus, the pattern AB]CD beco
643  string (by default this causes the current matching alternative to fail). A  string (by default this causes the current matching alternative to fail). A
644  pattern such as (\e1)(a) succeeds when this option is set (assuming it can find  pattern such as (\e1)(a) succeeds when this option is set (assuming it can find
645  an "a" in the subject), whereas it fails by default, for Perl compatibility.  an "a" in the subject), whereas it fails by default, for Perl compatibility.
646    .P
647    (3) \eU matches an upper case "U" character; by default \eU causes a compile
648    time error (Perl uses \eU to upper case subsequent characters).
649    .P
650    (4) \eu matches a lower case "u" character unless it is followed by four
651    hexadecimal digits, in which case the hexadecimal number defines the code point
652    to match. By default, \eu causes a compile time error (Perl uses it to upper
653    case the following character).
654    .P
655    (5) \ex matches a lower case "x" character unless it is followed by two
656    hexadecimal digits, in which case the hexadecimal number defines the code point
657    to match. By default, as in Perl, a hexadecimal number is always expected after
658    \ex, but it may have zero, one, or two digits (so, for example, \exz matches a
659    binary zero character followed by z).
660  .sp  .sp
661    PCRE_MULTILINE    PCRE_MULTILINE
662  .sp  .sp
# Line 1331  is different. (This seems a highly unlik Line 1345  is different. (This seems a highly unlik
1345  The function \fBpcre_exec()\fP is called to match a subject string against a  The function \fBpcre_exec()\fP is called to match a subject string against a
1346  compiled pattern, which is passed in the \fIcode\fP argument. If the  compiled pattern, which is passed in the \fIcode\fP argument. If the
1347  pattern was studied, the result of the study should be passed in the  pattern was studied, the result of the study should be passed in the
1348  \fIextra\fP argument. This function is the main matching facility of the  \fIextra\fP argument. You can call \fBpcre_exec()\fP with the same \fIcode\fP
1349  library, and it operates in a Perl-like manner. For specialist use there is  and \fIextra\fP arguments as many times as you like, in order to match
1350  also an alternative matching function, which is described  different subject strings with the same pattern.
1351    .P
1352    This function is the main matching facility of the library, and it operates in
1353    a Perl-like manner. For specialist use there is also an alternative matching
1354    function, which is described
1355  .\" HTML <a href="#dfamatch">  .\" HTML <a href="#dfamatch">
1356  .\" </a>  .\" </a>
1357  below  below
# Line 2526  Cambridge CB2 3QH, England. Line 2544  Cambridge CB2 3QH, England.
2544  .rs  .rs
2545  .sp  .sp
2546  .nf  .nf
2547  Last updated: 06 September 2011  Last updated: 14 November 2011
2548  Copyright (c) 1997-2011 University of Cambridge.  Copyright (c) 1997-2011 University of Cambridge.
2549  .fi  .fi

Legend:
Removed from v.691  
changed lines
  Added in v.745

  ViewVC Help
Powered by ViewVC 1.1.5