void () { assertTrue(firstLetterMatcher(" cl").matches("getClass")); assertFalse(firstLetterMatcher(" EUC-").matches("x-EUC-TW")); assertTrue(firstLetterMatcher(" a").matches("aaa")); assertFalse(firstLetterMatcher(" a").matches("Aaa")); assertFalse(firstLetterMatcher(" a").matches("Aaa")); assertFalse(firstLetterMatcher(" _bl").matches("_top")); assertFalse(firstLetterMatcher("*Ch").matches("char")); assertTrue(firstLetterMatcher("*Codes").matches("CFLocaleCopyISOCountryCodes")); assertFalse(firstLetterMatcher("*codes").matches("CFLocaleCopyISOCountryCodes")); assertTrue(firstLetterMatcher("*codes").matches("getCFLocaleCopyISOCountryCodes")); assertTrue(firstLetterMatcher("*Bcomp").matches("BaseComponent")); }