diff options
-rw-r--r-- | regcomp.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -7466,14 +7466,19 @@ tryagain: case 'o': { STRLEN brace_len = len; + UV result; if ((error_msg = grok_bslash_o(p, - &ender, + &result, &brace_len, SIZE_ONLY)) != NULL) { vFAIL(error_msg); } + else + { + ender = result; + } p += brace_len; if (PL_encoding && ender < 0x100) { goto recode_encoding; |