void () { test("\\[within( \"if ('_a) { '_st*; }\" )]"); assertEquals("[within( \"if ($a$) { $st$; }\" )]", myOptions.getSearchPattern()); test("\\["); assertEquals("[", myOptions.getSearchPattern()); test("\\'aaa"); assertEquals("'aaa", myOptions.getSearchPattern()); test("'a\\:"); assertEquals("$a$:", myOptions.getSearchPattern()); }