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

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

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

revision 1193 by ph10, Sat Jun 2 11:03:06 2012 UTC revision 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC
# Line 90  documentation. This document contains a Line 90  documentation. This document contains a
90    \V         a character that is not a vertical white space character    \V         a character that is not a vertical white space character
91    \w         a "word" character    \w         a "word" character
92    \W         a "non-word" character    \W         a "non-word" character
93    \X         an extended Unicode sequence    \X         a Unicode extended grapheme cluster
94  </pre>  </pre>
95  In PCRE, by default, \d, \D, \s, \S, \w, and \W recognize only ASCII  In PCRE, by default, \d, \D, \s, \S, \w, and \W recognize only ASCII
96  characters, even in a UTF mode. However, this can be changed by setting the  characters, even in a UTF mode. However, this can be changed by setting the
# Line 378  newline-setting options with similar syn Line 378  newline-setting options with similar syn
378    (*NO_START_OPT) no start-match optimization (PCRE_NO_START_OPTIMIZE)    (*NO_START_OPT) no start-match optimization (PCRE_NO_START_OPTIMIZE)
379    (*UTF8)         set UTF-8 mode: 8-bit library (PCRE_UTF8)    (*UTF8)         set UTF-8 mode: 8-bit library (PCRE_UTF8)
380    (*UTF16)        set UTF-16 mode: 16-bit library (PCRE_UTF16)    (*UTF16)        set UTF-16 mode: 16-bit library (PCRE_UTF16)
381      (*UTF32)        set UTF-32 mode: 32-bit library (PCRE_UTF32)
382    (*UCP)          set PCRE_UCP (use Unicode properties for \d etc)    (*UCP)          set PCRE_UCP (use Unicode properties for \d etc)
383  </PRE>  </PRE>
384  </P>  </P>
# Line 469  pattern is not anchored. Line 470  pattern is not anchored.
470  <br><a name="SEC22" href="#TOC1">NEWLINE CONVENTIONS</a><br>  <br><a name="SEC22" href="#TOC1">NEWLINE CONVENTIONS</a><br>
471  <P>  <P>
472  These are recognized only at the very start of the pattern or after a  These are recognized only at the very start of the pattern or after a
473  (*BSR_...), (*UTF8), (*UTF16) or (*UCP) option.  (*BSR_...), (*UTF8), (*UTF16), (*UTF32) or (*UCP) option.
474  <pre>  <pre>
475    (*CR)           carriage return only    (*CR)           carriage return only
476    (*LF)           linefeed only    (*LF)           linefeed only
# Line 510  Cambridge CB2 3QH, England. Line 511  Cambridge CB2 3QH, England.
511  </P>  </P>
512  <br><a name="SEC27" href="#TOC1">REVISION</a><br>  <br><a name="SEC27" href="#TOC1">REVISION</a><br>
513  <P>  <P>
514  Last updated: 10 January 2012  Last updated: 25 August 2012
515  <br>  <br>
516  Copyright &copy; 1997-2012 University of Cambridge.  Copyright &copy; 1997-2012 University of Cambridge.
517  <br>  <br>

Legend:
Removed from v.1193  
changed lines
  Added in v.1194

  ViewVC Help
Powered by ViewVC 1.1.5