in reply to Re: strange behavior of regex
in thread strange behavior of regex

'sux' =~ $class

would also work. It was the /g that was the problem.