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

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

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

revision 866 by ph10, Fri Jan 13 12:30:12 2012 UTC revision 873 by ph10, Sat Jan 14 16:45:24 2012 UTC
# Line 549  The use of \ex{hh...} is not dependent o Line 549  The use of \ex{hh...} is not dependent o
549  the pattern. It is recognized always. There may be any number of hexadecimal  the pattern. It is recognized always. There may be any number of hexadecimal
550  digits inside the braces; invalid values provoke error messages.  digits inside the braces; invalid values provoke error messages.
551  .P  .P
552  Note that \exhh specifies one byte in UTF-8 mode; this makes it possible to  Note that \exhh specifies one byte rather than one character in UTF-8 mode;
553  construct invalid UTF-8 sequences for testing purposes. On the other hand,  this makes it possible to construct invalid UTF-8 sequences for testing
554  \ex{hh} is interpreted as a UTF-8 character in UTF-8 mode, generating more than  purposes. On the other hand, \ex{hh} is interpreted as a UTF-8 character in
555  one byte if the value is greater than 127. When testing the 8-bit library not  UTF-8 mode, generating more than one byte if the value is greater than 127.
556  in UTF-8 mode, \ex{hh} generates one byte for values less than 256, and causes  When testing the 8-bit library not in UTF-8 mode, \ex{hh} generates one byte
557  an error for greater values.  for values less than 256, and causes an error for greater values.
558  .P  .P
559  In UTF-16 mode, all 4-digit \ex{hhhh} values are accepted. This makes it  In UTF-16 mode, all 4-digit \ex{hhhh} values are accepted. This makes it
560  possible to construct invalid UTF-16 sequences for testing purposes.  possible to construct invalid UTF-16 sequences for testing purposes.
# Line 936  Cambridge CB2 3QH, England. Line 936  Cambridge CB2 3QH, England.
936  .rs  .rs
937  .sp  .sp
938  .nf  .nf
939  Last updated: 13 January 2012  Last updated: 14 January 2012
940  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
941  .fi  .fi

Legend:
Removed from v.866  
changed lines
  Added in v.873

  ViewVC Help
Powered by ViewVC 1.1.5