### Question:
UserSearchUtils { static String escapeAllRegexCharacters(String input) { return Pattern.quote(input); }  static Pattern createSearchPattern(String input, boolean caseSensitive); static Pattern createLiteralSearchPattern(String text); static Pattern createStartsWithPattern(String input, boolean allowGlobbing,
			int options); static Pattern createEndsWithPattern(String input, boolean allowGlobbing, int options); static Pattern createContainsPattern(String input, boolean allowGlobbing, int options); static Pattern createPattern(String input, boolean allowGlobbing, int options); static String createPatternString(String input, boolean allowGlobbing); final static String STAR; final static Pattern NON_GLOB_BACKSLASH_PATTERN; }### Answer:
@Test public void testEscapeAllRegexCharacters() { String escaped = UserSearchUtils.escapeAllRegexCharacters("start^.$()[]+&{}*?end"); assertEquals("\\Qstart^.$()[]+&{}*?end\\E", escaped); }