diff options
Diffstat (limited to 'ext/pcre/pcre2lib/pcre2_convert.c')
| -rw-r--r-- | ext/pcre/pcre2lib/pcre2_convert.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pcre/pcre2lib/pcre2_convert.c b/ext/pcre/pcre2lib/pcre2_convert.c index 0e29acae33..bb0a6c2f9e 100644 --- a/ext/pcre/pcre2lib/pcre2_convert.c +++ b/ext/pcre/pcre2lib/pcre2_convert.c @@ -105,7 +105,7 @@ static const char *pcre2_escaped_literals = static const char *posix_meta_escapes = STR_LEFT_PARENTHESIS STR_RIGHT_PARENTHESIS - STR_LEFT_CURLY_BRACKET STR_RIGHT_CURLY_BRACKET + STR_LEFT_CURLY_BRACKET STR_RIGHT_CURLY_BRACKET STR_1 STR_2 STR_3 STR_4 STR_5 STR_6 STR_7 STR_8 STR_9; @@ -260,7 +260,7 @@ while (plength > 0) continue; /* With next character */ } } -#endif +#endif /* Handle start of "normal" character classes */ @@ -288,7 +288,7 @@ while (plength > 0) case CHAR_BACKSLASH: if (plength <= 0) return ERROR_END_BACKSLASH; if (extended) nextisliteral = TRUE; else - { + { if (*posix < 127 && strchr(posix_meta_escapes, *posix) != NULL) { if (isdigit(*posix)) PUTCHARS(STR_BACKSLASH); @@ -296,7 +296,7 @@ while (plength > 0) lastspecial = *p++ = *posix++; plength--; } - else nextisliteral = TRUE; + else nextisliteral = TRUE; } break; |
