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

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

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

revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC revision 172 by ph10, Tue Jun 5 10:40:13 2007 UTC
# Line 17  man page, in case the conversion went wr Line 17  man page, in case the conversion went wr
17  <li><a name="TOC2" href="#SEC2">MISSING CALLOUTS</a>  <li><a name="TOC2" href="#SEC2">MISSING CALLOUTS</a>
18  <li><a name="TOC3" href="#SEC3">THE CALLOUT INTERFACE</a>  <li><a name="TOC3" href="#SEC3">THE CALLOUT INTERFACE</a>
19  <li><a name="TOC4" href="#SEC4">RETURN VALUES</a>  <li><a name="TOC4" href="#SEC4">RETURN VALUES</a>
20    <li><a name="TOC5" href="#SEC5">AUTHOR</a>
21    <li><a name="TOC6" href="#SEC6">REVISION</a>
22  </ul>  </ul>
23  <br><a name="SEC1" href="#TOC1">PCRE CALLOUTS</a><br>  <br><a name="SEC1" href="#TOC1">PCRE CALLOUTS</a><br>
24  <P>  <P>
# Line 35  function is to be called. Different call Line 37  function is to be called. Different call
37  a number less than 256 after the letter C. The default value is zero.  a number less than 256 after the letter C. The default value is zero.
38  For example, this pattern has two callout points:  For example, this pattern has two callout points:
39  <pre>  <pre>
40    (?C1)\deabc(?C2)def    (?C1)abc(?C2)def
41  </pre>  </pre>
42  If the PCRE_AUTO_CALLOUT option bit is set when <b>pcre_compile()</b> is called,  If the PCRE_AUTO_CALLOUT option bit is set when <b>pcre_compile()</b> is called,
43  PCRE automatically inserts callouts, all with number 255, before each item in  PCRE automatically inserts callouts, all with number 255, before each item in
# Line 113  The <i>subject</i> and <i>subject_length Line 115  The <i>subject</i> and <i>subject_length
115  that were passed to <b>pcre_exec()</b>.  that were passed to <b>pcre_exec()</b>.
116  </P>  </P>
117  <P>  <P>
118  The <i>start_match</i> field contains the offset within the subject at which the  The <i>start_match</i> field normally contains the offset within the subject at
119  current match attempt started. If the pattern is not anchored, the callout  which the current match attempt started. However, if the escape sequence \K
120  function may be called several times from the same point in the pattern for  has been encountered, this value is changed to reflect the modified starting
121  different starting points in the subject.  point. If the pattern is not anchored, the callout function may be called
122    several times from the same point in the pattern for different starting points
123    in the subject.
124  </P>  </P>
125  <P>  <P>
126  The <i>current_position</i> field contains the offset within the subject of the  The <i>current_position</i> field contains the offset within the subject of the
# Line 177  values. In particular, PCRE_ERROR_NOMATC Line 181  values. In particular, PCRE_ERROR_NOMATC
181  The error number PCRE_ERROR_CALLOUT is reserved for use by callout functions;  The error number PCRE_ERROR_CALLOUT is reserved for use by callout functions;
182  it will never be used by PCRE itself.  it will never be used by PCRE itself.
183  </P>  </P>
184    <br><a name="SEC5" href="#TOC1">AUTHOR</a><br>
185  <P>  <P>
186  Last updated: 28 February 2005  Philip Hazel
187    <br>
188    University Computing Service
189    <br>
190    Cambridge CB2 3QH, England.
191    <br>
192    </P>
193    <br><a name="SEC6" href="#TOC1">REVISION</a><br>
194    <P>
195    Last updated: 29 May 2007
196    <br>
197    Copyright &copy; 1997-2007 University of Cambridge.
198  <br>  <br>
 Copyright &copy; 1997-2005 University of Cambridge.  
199  <p>  <p>
200  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.
201  </p>  </p>

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

  ViewVC Help
Powered by ViewVC 1.1.5