in reply to Re^3: calling subroutines within a regular expression?
in thread calling subroutines within a regular expression?

You're right. It looked like it worked on the original to me because it matched "cat" against "" which "found" it. The + is a way to force constants to evaluate, also works, in some contexts, with spelling it out as the sub it is, RX(). Doesn't work here though. :(