- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 200 for Escaper (0.05 seconds)
-
src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java
// Test escaping functionality through escape parameter assertEquals("test", getQuery("test", new String[0], Collections.emptyMap(), Collections.emptyMap(), false)); assertEquals("test", getQuery("test", new String[0], Collections.emptyMap(), Collections.emptyMap(), true)); // Test specific characters that should be escapedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
result = result.replace(ESCAPED_QUOTE, "\""); } } return result; } /** * Quote and escape input value for CSV * * @param original Original text. * @return Escaped text. */ public static String quoteEscape(final String original) { String result = original; if (result.indexOf('\"') >= 0) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} @Test public void test_unescape() throws Exception { // Test with escaped characters (backslash sequences) String content = "test\\t1\n" + // escaped tab sequence "test\\n2\n" + // escaped newline sequence "test3\n"; // no escape // Write content to test file writeTestFile(content); // Reload the fileCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
result.write(this, i) // Consume '"'. readByte() return result.readUtf8() } if (size == i + 1L) return null // Dangling escape. result.write(this, i) // Consume '\'. readByte() result.write(this, 1L) // The escaped character. } } /** * Consumes and returns a non-empty token, terminating at special characters in
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
return OptionalThing.of(key.toString()); } return OptionalThing.empty(); } /** * Escapes special characters in a value string for safe logging. * * @param action the string value to escape * @return the escaped string with tabs replaced by spaces */ protected String escapeValue(final String action) { return action.replace('\t', ' '); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
logger.warn("MarkdownRenderer is not initialized, returning escaped text"); return escapeHtml(markdown); } return markdownRenderer.render(markdown); } /** * Escapes HTML special characters. * * @param text the text to escape * @return the escaped text */ protected String escapeHtml(final String text) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
README.md
}); ``` ### Text Processing and JSON ```java import org.codelibs.core.text.*; // JSON utilities with proper escaping String escaped = JsonUtil.escape("Hello \"World\" with special chars"); String unescaped = JsonUtil.unescape(escaped); // Text tokenization Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ","); while (tokenizer.hasMoreTokens()) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy
for (String warning in warnings) { // Escape " because we're going to quote the warning String escaped = warning.replaceAll('"', '\\\\"') /* Quote the warning in case it starts with [ which makes * it look too much like an array. */ current.println(" - \"$escaped\"") } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 19.5K bytes - Click Count (0) -
internal/logger/console.go
// of splitting error text and always pretty printing the // red banner along with the error message. Since the error // message itself contains some colored text, we needed // to use some ANSI control escapes to cursor color state // and freely move in the screen. for line := range strings.SplitSeq(errMsg, "\n") { if len(line) == 0 { // No more text to print, just quit. break }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
String[] result; // Escaped quotes within quoted value - DOES NOT get unquoted because pattern doesn't match value = "\"value with \"\"escaped\"\" quotes\""; result = KuromojiCSVUtil.parse(value); assertEquals(1, result.length); assertEquals("\"value with \"\"escaped\"\" quotes\"", result[0]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0)