/[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 111 by ph10, Thu Mar 8 16:53:09 2007 UTC revision 172 by ph10, Tue Jun 5 10:40:13 2007 UTC
# Line 37  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 115  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 190  Cambridge CB2 3QH, England. Line 192  Cambridge CB2 3QH, England.
192  </P>  </P>
193  <br><a name="SEC6" href="#TOC1">REVISION</a><br>  <br><a name="SEC6" href="#TOC1">REVISION</a><br>
194  <P>  <P>
195  Last updated: 06 March 2007  Last updated: 29 May 2007
196  <br>  <br>
197  Copyright &copy; 1997-2007 University of Cambridge.  Copyright &copy; 1997-2007 University of Cambridge.
198  <br>  <br>

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

  ViewVC Help
Powered by ViewVC 1.1.5