/[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 111 by ph10, Thu Mar 8 16:53:09 2007 UTC revision 172 by ph10, Tue Jun 5 10:40:13 2007 UTC
# Line 92  envisaged for this facility, this is not Line 92  envisaged for this facility, this is not
92  <P>  <P>
93  If PCRE_PARTIAL is set for a pattern that does not conform to the restrictions,  If PCRE_PARTIAL is set for a pattern that does not conform to the restrictions,
94  <b>pcre_exec()</b> returns the error code PCRE_ERROR_BADPARTIAL (-13).  <b>pcre_exec()</b> returns the error code PCRE_ERROR_BADPARTIAL (-13).
95    You can use the PCRE_INFO_OKPARTIAL call to <b>pcre_fullinfo()</b> to find out
96    if a compiled pattern can be used for partial matching.
97  </P>  </P>
98  <br><a name="SEC3" href="#TOC1">EXAMPLE OF PARTIAL MATCHING USING PCRETEST</a><br>  <br><a name="SEC3" href="#TOC1">EXAMPLE OF PARTIAL MATCHING USING PCRETEST</a><br>
99  <P>  <P>
# Line 178  bytes at the start of the buffer. Line 180  bytes at the start of the buffer.
180  always produce exactly the same result as matching over one single long string.  always produce exactly the same result as matching over one single long string.
181  The difference arises when there are multiple matching possibilities, because a  The difference arises when there are multiple matching possibilities, because a
182  partial match result is given only when there are no completed matches in a  partial match result is given only when there are no completed matches in a
183  call to fBpcre_dfa_exec()\fP. This means that as soon as the shortest match has  call to <b>pcre_dfa_exec()</b>. This means that as soon as the shortest match has
184  been found, continuation to a new subject segment is no longer possible.  been found, continuation to a new subject segment is no longer possible.
185  Consider this <b>pcretest</b> example:  Consider this <b>pcretest</b> example:
186  <pre>  <pre>
# Line 231  Cambridge CB2 3QH, England. Line 233  Cambridge CB2 3QH, England.
233  </P>  </P>
234  <br><a name="SEC6" href="#TOC1">REVISION</a><br>  <br><a name="SEC6" href="#TOC1">REVISION</a><br>
235  <P>  <P>
236  Last updated: 06 March 2007  Last updated: 04 June 2007
237  <br>  <br>
238  Copyright &copy; 1997-2007 University of Cambridge.  Copyright &copy; 1997-2007 University of Cambridge.
239  <br>  <br>

Legend:
Removed from v.111  
changed lines
  Added in v.172

  ViewVC Help
Powered by ViewVC 1.1.5