in reply to Re: Efficiency in regex
in thread Efficiency in regex

I like the idea behind this solution, but this won't work in an instance like this: "Tom Jones is here". $2 will be the word "is" which will not be in the hash.