diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-12-27 13:46:46 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-27 13:46:46 +0000 |
commit | 3ce3ed558a83da8e2c458cdff55957484ff161a7 (patch) | |
tree | 29e33b64bdbac4752bbb0bc1d0f9e69344de2f84 /util.c | |
parent | 7d879f32d6bc460c660bdefc13574ab1b05062e9 (diff) | |
download | perl-3ce3ed558a83da8e2c458cdff55957484ff161a7.tar.gz |
Regexps are now orange.
(Correct a comparison of $] with 5.011 in B.pm)
p4raw-id: //depot/perl@32740
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5921,7 +5921,7 @@ Perl_get_re_arg(pTHX_ SV *sv) { mg_get(sv); if (SvROK(sv) && (tmpsv = (SV*)SvRV(sv)) && /* assign deliberate */ - SvTYPE(tmpsv) == SVt_PVMG && + SvTYPE(tmpsv) == SVt_ORANGE && (mg = mg_find(tmpsv, PERL_MAGIC_qr))) /* assign deliberate */ { return (REGEXP *)mg->mg_obj; |