[pcre-dev] pcre2unicode.3 lists wrong 16 and 32 bit UTF erro…

Page principale
Supprimer ce message
Auteur: Ralf Junker
Date:  
À: pcre-dev
Anciens-sujets: [pcre-dev] pcre2-10.22-RC1 is available
Sujet: [pcre-dev] pcre2unicode.3 lists wrong 16 and 32 bit UTF error constants
pcre2unicode.3 still lists PCRE1 names for for 16 and 32 bit UTF error
constants. Instead of PCRE_..., they should be PCRE2_ERROR_...

Excerpt from wrong pcre2unicode.3 as of SVN 538 below.

Ralf

---------

.\" HTML <a name="utf16strings"></a>
.SS "Errors in UTF-16 strings"
.rs
.sp
The following negative error codes are given for invalid UTF-16 strings:
.sp
PCRE_UTF16_ERR1 Missing low surrogate at end of string
PCRE_UTF16_ERR2 Invalid low surrogate follows high surrogate
PCRE_UTF16_ERR3 Isolated low surrogate
.sp
.
.
.\" HTML <a name="utf32strings"></a>
.SS "Errors in UTF-32 strings"
.rs
.sp
The following negative error codes are given for invalid UTF-32 strings:
.sp
PCRE_UTF32_ERR1 Surrogate character (range from 0xd800 to 0xdfff)
PCRE_UTF32_ERR2 Code point is greater than 0x10ffff