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

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

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

revision 974 by ph10, Sat Jan 14 11:16:23 2012 UTC revision 975 by ph10, Sat Jun 2 11:03:06 2012 UTC
# Line 107  in the Line 107  in the
107  page.  page.
108  </P>  </P>
109  <P>  <P>
110  11. If (*THEN) is present in a group that is called as a subroutine, its action  11. If any of the backtracking control verbs are used in an assertion or in a
111  is limited to that group, even if the group does not contain any | characters.  subpattern that is called as a subroutine (whether or not recursively), their
112    effect is confined to that subpattern; it does not extend to the surrounding
113    pattern. This is not always the case in Perl. In particular, if (*THEN) is
114    present in a group that is called as a subroutine, its action is limited to
115    that group, even if the group does not contain any | characters. There is one
116    exception to this: the name from a *(MARK), (*PRUNE), or (*THEN) that is
117    encountered in a successful positive assertion <i>is</i> passed back when a
118    match succeeds (compare capturing parentheses in assertions). Note that such
119    subpatterns are processed as anchored at the point where they are tested.
120  </P>  </P>
121  <P>  <P>
122  12. There are some differences that are concerned with the settings of captured  12. There are some differences that are concerned with the settings of captured
# Line 129  an error is given at compile time. Line 137  an error is given at compile time.
137  <P>  <P>
138  14. Perl recognizes comments in some places that PCRE does not, for example,  14. Perl recognizes comments in some places that PCRE does not, for example,
139  between the ( and ? at the start of a subpattern. If the /x modifier is set,  between the ( and ? at the start of a subpattern. If the /x modifier is set,
140  Perl allows whitespace between ( and ? but PCRE never does, even if the  Perl allows white space between ( and ? but PCRE never does, even if the
141  PCRE_EXTENDED option is set.  PCRE_EXTENDED option is set.
142  </P>  </P>
143  <P>  <P>
# Line 203  Cambridge CB2 3QH, England. Line 211  Cambridge CB2 3QH, England.
211  REVISION  REVISION
212  </b><br>  </b><br>
213  <P>  <P>
214  Last updated: 08 Januray 2012  Last updated: 01 June 2012
215  <br>  <br>
216  Copyright &copy; 1997-2012 University of Cambridge.  Copyright &copy; 1997-2012 University of Cambridge.
217  <br>  <br>

Legend:
Removed from v.974  
changed lines
  Added in v.975

  ViewVC Help
Powered by ViewVC 1.1.5