141142143144145146147
* @param value The string to be literalized * @return A literal string replacement * @since 1.5 */ public static String quote(String value) { return (String) (Object) new NativeString(value).replace("[-[\\]{}()*+?.,\\\\^$|#\\s]", "\\$&"); }