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

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

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

revision 953 by ph10, Fri Feb 24 12:05:54 2012 UTC revision 954 by ph10, Sat Mar 31 18:09:26 2012 UTC
# Line 1227  only if it follows something of variable Line 1227  only if it follows something of variable
1227  /^a\d+z\d+/ the returned value is "z", but for /^a\dz\d/ the returned value  /^a\d+z\d+/ the returned value is "z", but for /^a\dz\d/ the returned value
1228  is -1.  is -1.
1229  <pre>  <pre>
1230      PCRE_INFO_MAXLOOKBEHIND
1231    </pre>
1232    Return the number of characters (NB not bytes) in the longest lookbehind
1233    assertion in the pattern. Note that the simple assertions \b and \B require a
1234    one-character lookbehind. This information is useful when doing multi-segment
1235    matching using the partial matching facilities.
1236    <pre>
1237    PCRE_INFO_MINLENGTH    PCRE_INFO_MINLENGTH
1238  </pre>  </pre>
1239  If the pattern was studied and a minimum length for matching subject strings  If the pattern was studied and a minimum length for matching subject strings
# Line 1870  string that it matched that is returned. Line 1877  string that it matched that is returned.
1877  <P>  <P>
1878  If the vector is too small to hold all the captured substring offsets, it is  If the vector is too small to hold all the captured substring offsets, it is
1879  used as far as possible (up to two-thirds of its length), and the function  used as far as possible (up to two-thirds of its length), and the function
1880  returns a value of zero. If neither the actual string matched not any captured  returns a value of zero. If neither the actual string matched nor any captured
1881  substrings are of interest, <b>pcre_exec()</b> may be called with <i>ovector</i>  substrings are of interest, <b>pcre_exec()</b> may be called with <i>ovector</i>
1882  passed as NULL and <i>ovecsize</i> as zero. However, if the pattern contains  passed as NULL and <i>ovecsize</i> as zero. However, if the pattern contains
1883  back references and the <i>ovector</i> is not big enough to remember the related  back references and the <i>ovector</i> is not big enough to remember the related
# Line 2601  Cambridge CB2 3QH, England. Line 2608  Cambridge CB2 3QH, England.
2608  </P>  </P>
2609  <br><a name="SEC26" href="#TOC1">REVISION</a><br>  <br><a name="SEC26" href="#TOC1">REVISION</a><br>
2610  <P>  <P>
2611  Last updated: 22 February 2012  Last updated: 24 February 2012
2612  <br>  <br>
2613  Copyright &copy; 1997-2012 University of Cambridge.  Copyright &copy; 1997-2012 University of Cambridge.
2614  <br>  <br>

Legend:
Removed from v.953  
changed lines
  Added in v.954

  ViewVC Help
Powered by ViewVC 1.1.5