- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for unescape (0.05 sec)
-
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} 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) { return s.replace("\\\\", "\\"); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertEquals(16, hash.length); } // Test unescape method @ParameterizedTest @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" }) void testUnescape(String input, String expected) throws Exception { assertEquals(expected, NtlmPasswordAuthentication.unescape(input)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
} continue; // ignore empty lines and comments } final String inputStrings = line; final String input = unescape(inputStrings); if (input.length() > 0) { id++; final ProtwordsItem item = new ProtwordsItem(id, input); if (updater != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
} continue; // ignore empty lines and comments } final String inputStrings = line; final String input = unescape(inputStrings); if (input.length() > 0) { id++; final StopwordsItem item = new StopwordsItem(id, input); if (updater != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.6K bytes - Viewed (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()) { String token = tokenizer.nextToken();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
String dom = null, user = null, pass = null; if (userInfo != null) { try { userInfo = unescape(userInfo); } catch (UnsupportedEncodingException uee) { throw new RuntimeCIFSException(uee); } int i, u; int end = userInfo.length();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
*/ public NtlmPasswordAuthentication(String userInfo) { domain = username = password = null; if (userInfo != null) { try { userInfo = unescape(userInfo); } catch (final UnsupportedEncodingException uee) {} int i, u, end; char c; end = userInfo.length(); for (i = 0, u = 0; i < end; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
assertTrue(result.contains("StopwordsFile")); assertTrue(result.contains("path=" + testFile.getAbsolutePath())); assertTrue(result.contains("id=test_id")); } // Test unescape private method through reload public void test_unescape_noBackslash() { String content = "word1\n"; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
assertEquals("string%20with%20spaces", basicEscaper.escape("string with spaces")); assertEquals("string+with+spaces", plusForSpaceEscaper.escape("string with spaces")); assertEquals("string with spaces", spaceEscaper.escape("string with spaces")); } /** Tests that if we add extra 'safe' characters they remain unescaped */ public void testCustomEscaper() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0)