diff options
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1734,6 +1734,9 @@ S_reg(pTHX_ I32 paren, I32 *flagp) nextchar(); *flagp = TRYAGAIN; return NULL; + case 'p': + Perl_warner(aTHX_ WARN_REGEXP, "(?p{}) is deprecated - use (??{})"); + /* FALL THROUGH*/ case '?': logical = 1; paren = *PL_regcomp_parse++; |