fix use of deprecated left =~ right
Merge pull request #166 from mathieul/master

fix use of deprecated left =~ right