@@ -7631,7 +7631,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7631
7631
|| ANYOF_FLAGS (scan ) > NATIVE_UTF8_TO_I8 (* locinput )
7632
7632
|| ! (anyofh_list = GET_ANYOFH_INVLIST (rex , scan ))
7633
7633
|| ! _invlist_contains_cp (anyofh_list ,
7634
- utf8_to_uvchr_buf ((U8 * ) locinput ,
7634
+ utf8_to_uv_or_die ((U8 * ) locinput ,
7635
7635
(U8 * ) loceol ,
7636
7636
NULL )))
7637
7637
{
@@ -7646,7 +7646,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7646
7646
|| ANYOF_FLAGS (scan ) != (U8 ) * locinput
7647
7647
|| ! (anyofh_list = GET_ANYOFH_INVLIST (rex , scan ))
7648
7648
|| ! _invlist_contains_cp (anyofh_list ,
7649
- utf8_to_uvchr_buf ((U8 * ) locinput ,
7649
+ utf8_to_uv_or_die ((U8 * ) locinput ,
7650
7650
(U8 * ) loceol ,
7651
7651
NULL )))
7652
7652
{
@@ -7676,7 +7676,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7676
7676
HIGHEST_ANYOF_HRx_BYTE (ANYOF_FLAGS (scan )))
7677
7677
|| ! (anyofh_list = GET_ANYOFH_INVLIST (rex , scan ))
7678
7678
|| ! _invlist_contains_cp (anyofh_list ,
7679
- utf8_to_uvchr_buf ((U8 * ) locinput ,
7679
+ utf8_to_uv_or_die ((U8 * ) locinput ,
7680
7680
(U8 * ) loceol ,
7681
7681
NULL )))
7682
7682
{
@@ -7692,7 +7692,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7692
7692
|| memNE (locinput , ((struct regnode_anyofhs * ) scan )-> string , FLAGS (scan ))
7693
7693
|| ! (anyofh_list = GET_ANYOFH_INVLIST (rex , scan ))
7694
7694
|| ! _invlist_contains_cp (anyofh_list ,
7695
- utf8_to_uvchr_buf ((U8 * ) locinput ,
7695
+ utf8_to_uv_or_die ((U8 * ) locinput ,
7696
7696
(U8 * ) loceol ,
7697
7697
NULL )))
7698
7698
{
@@ -7708,7 +7708,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7708
7708
7709
7709
if (utf8_target ) {
7710
7710
if ( ANYOF_FLAGS (scan ) > NATIVE_UTF8_TO_I8 (* locinput )
7711
- || ! withinCOUNT (utf8_to_uvchr_buf ((U8 * ) locinput ,
7711
+ || ! withinCOUNT (utf8_to_uv_or_die ((U8 * ) locinput ,
7712
7712
(U8 * ) reginfo -> strend ,
7713
7713
NULL ),
7714
7714
ANYOFRbase (scan ), ANYOFRdelta (scan )))
@@ -7733,7 +7733,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7733
7733
7734
7734
if (utf8_target ) {
7735
7735
if ( ANYOF_FLAGS (scan ) != (U8 ) * locinput
7736
- || ! withinCOUNT (utf8_to_uvchr_buf ((U8 * ) locinput ,
7736
+ || ! withinCOUNT (utf8_to_uv_or_die ((U8 * ) locinput ,
7737
7737
(U8 * ) reginfo -> strend ,
7738
7738
NULL ),
7739
7739
ANYOFRbase (scan ), ANYOFRdelta (scan )))
@@ -7880,7 +7880,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
7880
7880
if (! (to_complement
7881
7881
^ cBOOL (_invlist_contains_cp (
7882
7882
PL_XPosix_ptrs [classnum ],
7883
- utf8_to_uvchr_buf ((U8 * ) locinput ,
7883
+ utf8_to_uv_or_die ((U8 * ) locinput ,
7884
7884
(U8 * ) reginfo -> strend ,
7885
7885
NULL )))))
7886
7886
{
0 commit comments