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

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

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

revision 1403 by ph10, Tue May 28 09:13:59 2013 UTC revision 1404 by ph10, Tue Nov 19 15:36:57 2013 UTC
# Line 306  not retain the previously partially-matc Line 306  not retain the previously partially-matc
306  program to do that if it needs to.  program to do that if it needs to.
307  </P>  </P>
308  <P>  <P>
309    That means that, for an unanchored pattern, if a continued match fails, it is
310    not possible to try again at a new starting point. All this facility is capable
311    of doing is continuing with the previous match attempt. In the previous
312    example, if the second set of data is "ug23" the result is no match, even
313    though there would be a match for "aug23" if the entire string were given at
314    once. Depending on the application, this may or may not be what you want.
315    The only way to allow for starting again at the next character is to retain the
316    matched part of the subject and try a new complete match.
317    </P>
318    <P>
319  You can set the PCRE_PARTIAL_SOFT or PCRE_PARTIAL_HARD options with  You can set the PCRE_PARTIAL_SOFT or PCRE_PARTIAL_HARD options with
320  PCRE_DFA_RESTART to continue partial matching over multiple segments. This  PCRE_DFA_RESTART to continue partial matching over multiple segments. This
321  facility can be used to pass very long subject strings to the DFA matching  facility can be used to pass very long subject strings to the DFA matching
# Line 490  Cambridge CB2 3QH, England. Line 500  Cambridge CB2 3QH, England.
500  </P>  </P>
501  <br><a name="SEC11" href="#TOC1">REVISION</a><br>  <br><a name="SEC11" href="#TOC1">REVISION</a><br>
502  <P>  <P>
503  Last updated: 20 February 2013  Last updated: 02 July 2013
504  <br>  <br>
505  Copyright &copy; 1997-2013 University of Cambridge.  Copyright &copy; 1997-2013 University of Cambridge.
506  <br>  <br>

Legend:
Removed from v.1403  
changed lines
  Added in v.1404

  ViewVC Help
Powered by ViewVC 1.1.5