Fix for MONDRIAN-1492. The MySQL dialect was removing all case sensitivity flags and ignoring them when generating SQL, thus forcing everything to be case sensitive.
Small woopsie for MONDRIAN-1492. A test in NonEmptyTest was also using regexp matches. Had to be updated.