/[pcre]/code/trunk/doc/pcrepattern.3
ViewVC logotype

Diff of /code/trunk/doc/pcrepattern.3

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

revision 556 by ph10, Tue Oct 26 11:06:44 2010 UTC revision 557 by ph10, Tue Oct 26 15:26:12 2010 UTC
# Line 1966  already been matched. The two possible f Line 1966  already been matched. The two possible f
1966  .sp  .sp
1967  If the condition is satisfied, the yes-pattern is used; otherwise the  If the condition is satisfied, the yes-pattern is used; otherwise the
1968  no-pattern (if present) is used. If there are more than two alternatives in the  no-pattern (if present) is used. If there are more than two alternatives in the
1969  subpattern, a compile-time error occurs.  subpattern, a compile-time error occurs. Each of the two alternatives may
1970    itself contain nested subpatterns of any form, including conditional
1971    subpatterns; the restriction to two alternatives applies only at the level of
1972    the condition. This pattern fragment is an example where the alternatives are
1973    complex:
1974    .sp
1975      (?(1) (A|B|C) | (D | (?(2)E|F) | E) )
1976    .sp
1977  .P  .P
1978  There are four kinds of condition: references to subpatterns, references to  There are four kinds of condition: references to subpatterns, references to
1979  recursion, a pseudo-condition called DEFINE, and assertions.  recursion, a pseudo-condition called DEFINE, and assertions.

Legend:
Removed from v.556  
changed lines
  Added in v.557

  ViewVC Help
Powered by ViewVC 1.1.5