stop ""-overloaded Regex recursing
authorDavid Mitchell <davem@iabyn.com>
Wed, 12 Sep 2012 11:36:08 +0000 (12:36 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 12 Sep 2012 11:36:08 +0000 (12:36 +0100)
commit00bf6ed28afa283a66a5789008ed58cb0f9079e8
treec2362b5c50d17fd8264b210f2a95d1d88f3a96b3
parent610272b504c200c56babb5b7c6f94c27509aba15
stop ""-overloaded Regex recursing

There was code to detect this, but it checked for the returned value being
the same as before, but in this case it was returning a *new* temporary
reference to the same Regexp object; so check for that too.
lib/overload.t
regcomp.c