RT#69616: regexp SVs lose regexpness in assignment
authorBen Morrow <ben@morrow.me.uk>
Thu, 22 Oct 2009 21:17:51 +0000 (23:17 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
Thu, 22 Oct 2009 21:17:51 +0000 (23:17 +0200)
commitf0826785082983bd9b5ba16476c6867f3b390fb9
treef9b18510046eacdecbfaca3f2cefbd5ca2865b83
parentdc35ab6e9838269debf9973a573bbd31031f3f31
RT#69616: regexp SVs lose regexpness in assignment

It uses reg_temp_copy to copy the REGEXP onto the destination SV without
needing to copy the underlying pattern structure. This means changing
the prototype of reg_temp_copy, so it can copy onto a passed-in SV, but
it isn't API (and probably shouldn't be exported) so I don't think this
is a problem.
embed.fnc
embed.h
pp_ctl.c
proto.h
regcomp.c
regexec.c
sv.c
t/op/ref.t