in reply to repeating patterns 2

couldn't you just pattern match it using

something =~ /\bwholeword\bstuff/foobar/

I'm not on a machine i can play with right now .. so its just a guess ...

mbond