- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for backslashes (0.04 sec)
-
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return Pattern.quote(s.substring(0, s.length() - 1)) + "$"; } return Pattern.quote(s); } /** * Unescapes double backslashes in regex patterns. * Converts escaped backslashes (\\) back to single backslashes (\). * * @param s the string to unescape * @return the unescaped string */ protected String unescape(final String s) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
gradlew
# # With -n1 it outputs one arg per line, with the quotes and backslashes removed. # # In Bash we could simply go: # # readarray ARGS < <( xargs -n1 <<<"$var" ) && # set -- "${ARGS[@]}" "$@" # # but POSIX shell has neither arrays nor command substitution, so instead we # post-process each arg (as a line of input to sed) to backslash-escape any # character that might be a shell metacharacter, then use eval to reverse
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
discloser.setSubject("Subject with \\ backslash"); discloser.setPlainText("Content with \\ backslash"); String result = notificationHelper.toSlackMessage(discloser); assertNotNull(result); assertTrue(result.contains("Subject with")); assertTrue(result.contains("Content with")); assertTrue(result.contains("backslash")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/UploadForm.java
*/ @Required public MultipartFormFile designFile; /** * The name for the design file being uploaded. * Must not contain invalid file system characters like backslash, colon, asterisk, etc. */ @Pattern(regexp = "^[^\\\\|/|:|\\*|?|\"|<|>|\\|]+$", message = "{errors.design_file_name_is_invalid}") public String designFileName; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
params.put("quotes", "text with \"quotes\""); params.put("backslash", "text\\with\\backslash"); activityHelper.print("test", OptionalThing.empty(), params); String result = localLogMsg.get(); assertTrue(result.contains("\\\"quotes\\\"")); assertTrue(result.contains("text\\\\with\\\\backslash")); } static class TestLoginCredential implements LoginCredential {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
assertEquals("${var1value2}", ResourceUtil.resolve(value)); // Test with special characters in replacement System.setProperty("special", "value$with\\backslash"); value = "${special}"; assertEquals("value$with\\backslash", ResourceUtil.resolve(value)); // Test with numeric property names System.setProperty("123", "numeric"); value = "${123}";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
super.tearDown(); } private String getTestContent() { return "# This is a comment\n" + "test1\n" + "test2\n" + "test3\n" + "\n" + // empty line "test\\\\4\n" + // escaped backslash "test5\n"; } public void test_getType() { assertEquals("protwords", protwordsFile.getType()); } public void test_getPath() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.append(buf, "specialKey", supplier); assertEquals("\"specialKey\":\"test \\\"quotes\\\" and \\n newline\"", buf.toString()); } // Test append method with String containing backslash public void test_append_stringWithBackslash() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> "path\\to\\file"; monitorTarget.append(buf, "pathKey", supplier);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
} /** * Escapes specific characters in a query string. * Replaces each specified character with its escaped version (prefixed with backslash). * * @param q the query string to escape * @param values the characters to escape * @return the escaped query string */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
} public void test_unescape_withBackslash() { String content = "word\\n1\n" + // word + n + 1 "word\\\n"; // word + (nothing after backslash) InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.reload(null, is); assertEquals(2, stopwordsFile.stopwordsItemList.size());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0)