/[pcre]/code/trunk/doc/pcretest.txt
ViewVC logotype

Diff of /code/trunk/doc/pcretest.txt

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

revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC revision 152 by ph10, Tue Apr 17 15:55:53 2007 UTC
# Line 146  PATTERN MODIFIERS Line 146  PATTERN MODIFIERS
146         The following table shows additional modifiers for setting PCRE options         The following table shows additional modifiers for setting PCRE options
147         that do not correspond to anything in Perl:         that do not correspond to anything in Perl:
148    
149           /A       PCRE_ANCHORED           /A          PCRE_ANCHORED
150           /C       PCRE_AUTO_CALLOUT           /C          PCRE_AUTO_CALLOUT
151           /E       PCRE_DOLLAR_ENDONLY           /E          PCRE_DOLLAR_ENDONLY
152           /f       PCRE_FIRSTLINE           /f          PCRE_FIRSTLINE
153           /J       PCRE_DUPNAMES           /J          PCRE_DUPNAMES
154           /N       PCRE_NO_AUTO_CAPTURE           /N          PCRE_NO_AUTO_CAPTURE
155           /U       PCRE_UNGREEDY           /U          PCRE_UNGREEDY
156           /X       PCRE_EXTRA           /X          PCRE_EXTRA
157           /<cr>    PCRE_NEWLINE_CR           /<cr>       PCRE_NEWLINE_CR
158           /<lf>    PCRE_NEWLINE_LF           /<lf>       PCRE_NEWLINE_LF
159           /<crlf>  PCRE_NEWLINE_CRLF           /<crlf>     PCRE_NEWLINE_CRLF
160           /<any>   PCRE_NEWLINE_ANY           /<anycrlf>  PCRE_NEWLINE_ANYCRLF
161             /<any>      PCRE_NEWLINE_ANY
162    
163         Those  specifying  line ending sequencess are literal strings as shown.         Those  specifying  line ending sequencess are literal strings as shown.
164         This example sets multiline matching  with  CRLF  as  the  line  ending         This example sets multiline matching  with  CRLF  as  the  line  ending
# Line 197  PATTERN MODIFIERS Line 198  PATTERN MODIFIERS
198         subject contains multiple copies of the same substring.         subject contains multiple copies of the same substring.
199    
200         The  /B modifier is a debugging feature. It requests that pcretest out-         The  /B modifier is a debugging feature. It requests that pcretest out-
201         put a representation of the compiled byte code after compilation.         put a representation of the compiled byte code after compilation.  Nor-
202           mally  this  information contains length and offset values; however, if
203           /Z is also present, this data is replaced by spaces. This is a  special
204           feature for use in the automatic test scripts; it ensures that the same
205           output is generated for different internal link sizes.
206    
207         The /L modifier must be followed directly by the name of a locale,  for         The /L modifier must be followed directly by the name of a locale,  for
208         example,         example,
# Line 326  DATA LINES Line 331  DATA LINES
331                        or pcre_dfa_exec()                        or pcre_dfa_exec()
332           \<crlf>    pass the PCRE_NEWLINE_CRLF option to pcre_exec()           \<crlf>    pass the PCRE_NEWLINE_CRLF option to pcre_exec()
333                        or pcre_dfa_exec()                        or pcre_dfa_exec()
334             \<anycrlf> pass the PCRE_NEWLINE_ANYCRLF option to pcre_exec()
335                          or pcre_dfa_exec()
336           \<any>     pass the PCRE_NEWLINE_ANY option to pcre_exec()           \<any>     pass the PCRE_NEWLINE_ANY option to pcre_exec()
337                        or pcre_dfa_exec()                        or pcre_dfa_exec()
338    
# Line 608  SEE ALSO Line 615  SEE ALSO
615  AUTHOR  AUTHOR
616    
617         Philip Hazel         Philip Hazel
618         University Computing Service,         University Computing Service
619         Cambridge CB2 3QH, England.         Cambridge CB2 3QH, England.
620    
621  Last updated: 30 November 2006  
622  Copyright (c) 1997-2006 University of Cambridge.  REVISION
623    
624           Last updated: 16 April 2007
625           Copyright (c) 1997-2007 University of Cambridge.

Legend:
Removed from v.93  
changed lines
  Added in v.152

  ViewVC Help
Powered by ViewVC 1.1.5