Skip to content

Commit 54a72ba

Browse files
committed
regcomp.c: Use utf8_to-uv_or_die not utf8_to_uvchr_buf
1 parent 4ec17af commit 54a72ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

regcomp.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8178,7 +8178,9 @@ S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state,
81788178
p++;
81798179
}
81808180
else {
8181-
input_text[name_len++] = utf8_to_uvchr_buf((U8 *) p, e, NULL);
8181+
input_text[name_len++] = utf8_to_uv_or_die((const U8 *) p,
8182+
(const U8 *) e,
8183+
NULL);
81828184
p+= UTF8SKIP(p);
81838185
}
81848186

0 commit comments

Comments
 (0)