in reply to Re: Not matching REGEX
in thread Not matching REGEX

That was it. In the legacy code the $_ held the owner value, so it worked there. Thanks a bunch.