fix tab issue #116 by escaping regex