Change == to =~ as per suggetion