- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for escaper (0.04 sec)
-
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test quotes are escaped. assertEquals(""test"", xmlAttributeEscaper.escape("\"test\"")); assertEquals("'test'", xmlAttributeEscaper.escape("'test'")); // Test all escapes assertEquals( "a"b<c>d&e"f'", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")); // Test '\t', '\n' and '\r' are escaped.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
String escaped3 = SuggestUtil.escapeWildcardQuery(query3); assertEquals("test\\*query\\?end", escaped3); // Test with no wildcards String query4 = "test query"; String escaped4 = SuggestUtil.escapeWildcardQuery(query4); assertEquals("test query", escaped4); // Test with multiple wildcards String query5 = "***???";
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java
// Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg. // Note: assert<b>Same</b> for this implementation. String s = "blah blah farhvergnugen"; assertSame(s, htmlEscaper().escape(s)); // Tests escapes at begin and end of string. assertEquals("<p>", htmlEscaper().escape("<p>"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
// Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg. // Note: assert<b>Same</b> for this implementation. String s = "blah blah farhvergnugen"; assertSame(s, htmlEscaper().escape(s)); // Tests escapes at begin and end of string. assertEquals("<p>", htmlEscaper().escape("<p>"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* <li>' with &apos;</li> * </ul> * Additionally, it strips invalid XML characters from the input string. * * @param value the input string to be escaped * @return the escaped XML string with invalid characters removed, or empty string if value is null */ public static String escapeXml(final String value) { if (value == null) { return StringUtil.EMPTY;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return escape(s) + ".*"; } final StringBuilder buf = new StringBuilder(100); return appendFileterPath(buf, escape(s)); } /** * Escapes special regex characters in a string to create a literal pattern.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} /** * Escapes a callback name. * @param callbackName The callback name. * @return The escaped callback name. */ protected String escapeCallbackName(final String callbackName) { return "/**/" + callbackName.replaceAll("[^0-9a-zA-Z_\\$\\.]", StringUtil.EMPTY); } /** * Escapes a JSON object. * @param obj The object to escape.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
} } /** * Escapes wildcard characters in the given query string. * * This method replaces all occurrences of '*' with '\*' and * all occurrences of '?' with '\?' to ensure that these characters * are treated as literals rather than wildcard characters in queries. * * @param query the query string to escape * @return the escaped query string */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 11:21:40 UTC 2025 - 17.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return StringUtil.EMPTY; } /** * Escapes HTML and applies highlighting to text. * Handles boundary position detection if enabled. * * @param text the text to process * @return the escaped and highlighted text */ protected String escapeHighlight(final String text) { final String escaped = LaFunctions.h(text); final String value;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
ADDING_NEW_LANGUAGE.md
- Check property file encoding (should be UTF-8 or use Unicode escapes `\uXXXX`) - Verify property keys match exactly with base English files ### Build errors after regeneration - Check property file syntax (no unescaped special characters) - Ensure all property values are properly escaped - Run `mvn clean` before rebuilding ## Additional Resources
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 11:36:30 UTC 2025 - 10.4K bytes - Viewed (0)