Fix the bug where inputs like "d[\" will throw a PatternSyntaxException
Merge branch 'master' of https://github.com/cs2103aug2014-T13-2J/main