/[pcre]/code/trunk/HACKING
ViewVC logotype

Diff of /code/trunk/HACKING

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

revision 459 by ph10, Fri Oct 2 08:53:31 2009 UTC revision 460 by ph10, Sun Oct 4 09:27:20 2009 UTC
# Line 373  These are like other subpatterns, but th Line 373  These are like other subpatterns, but th
373  OP_SCOND for one that might match an empty string in an unbounded repeat. If  OP_SCOND for one that might match an empty string in an unbounded repeat. If
374  the condition is a back reference, this is stored at the start of the  the condition is a back reference, this is stored at the start of the
375  subpattern using the opcode OP_CREF followed by two bytes containing the  subpattern using the opcode OP_CREF followed by two bytes containing the
376  reference number. If the condition is "in recursion" (coded as "(?(R)"), or "in  reference number. OP_NCREF is used instead if the reference was generated by
377  recursion of group x" (coded as "(?(Rx)"), the group number is stored at the  name (so that the runtime code knows to check for duplicate names).
378  start of the subpattern using the opcode OP_RREF, and a value of zero for "the  
379  whole pattern". For a DEFINE condition, just the single byte OP_DEF is used (it  If the condition is "in recursion" (coded as "(?(R)"), or "in recursion of
380  has no associated data). Otherwise, a conditional subpattern always starts with  group x" (coded as "(?(Rx)"), the group number is stored at the start of the
381  one of the assertions.  subpattern using the opcode OP_RREF or OP_NRREF (cf OP_NCREF), and a value of
382    zero for "the whole pattern". For a DEFINE condition, just the single byte
383    OP_DEF is used (it has no associated data). Otherwise, a conditional subpattern
384    always starts with one of the assertions.
385    
386    
387  Recursion  Recursion

Legend:
Removed from v.459  
changed lines
  Added in v.460

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12