66 |
PCRE_UTF16_ERR1 Missing low surrogate at the end of the string |
PCRE_UTF16_ERR1 Missing low surrogate at the end of the string |
67 |
PCRE_UTF16_ERR2 Invalid low surrogate |
PCRE_UTF16_ERR2 Invalid low surrogate |
68 |
PCRE_UTF16_ERR3 Isolated low surrogate |
PCRE_UTF16_ERR3 Isolated low surrogate |
69 |
PCRE_UTF16_ERR4 Not allowed character. |
PCRE_UTF16_ERR4 Not allowed character |
70 |
|
|
71 |
Arguments: |
Arguments: |
72 |
string points to the string |
string points to the string |
78 |
*/ |
*/ |
79 |
|
|
80 |
int |
int |
81 |
_pcre16_valid_utf16(PCRE_PUCHAR string, int length, int *erroroffset) |
PRIV(valid_utf16)(PCRE_PUCHAR string, int length, int *erroroffset) |
82 |
{ |
{ |
83 |
#ifdef SUPPORT_UTF16 |
#ifdef SUPPORT_UTF16 |
84 |
register PCRE_PUCHAR p; |
register PCRE_PUCHAR p; |