if (PL_reg_sv) {
/* Make $_ available to executed code. */
if (PL_reg_sv != DEFSV) {
- /* SAVE_DEFSV does *not* suffice here for USE_5005THREADS */
- SAVESPTR(DEFSV);
+ SAVE_DEFSV;
DEFSV = PL_reg_sv;
}
case CANY:
scan = loceol;
break;
- case EXACT:
- if (do_utf8) {
- c = (U8)*STRING(p);
- while (scan < loceol && utf8_to_uvuni((U8*)scan, 0) == c)
- scan += UTF8SKIP(scan);
- } else { /* length of string is 1 */
- c = (U8)*STRING(p);
- while (scan < loceol && UCHARAT(scan) == c)
- scan++;
- }
+ case EXACT: /* length of string is 1 */
+ c = (U8)*STRING(p);
+ while (scan < loceol && UCHARAT(scan) == c)
+ scan++;
break;
case EXACTF: /* length of string is 1 */
c = (U8)*STRING(p);