- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for unescape (0.04 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/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
GsaConfigParser parser = new GsaConfigParser(); assertEquals("", parser.escape("# comment")); assertEquals("^\\Qtest\\E$", parser.escape("^test$")); assertEquals("^\\Qtest\\E", parser.escape("^test")); assertEquals("\\Qtest\\E$", parser.escape("test$")); assertEquals("\\Qtest\\E", parser.escape("test")); } public void test_unescape() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.4K 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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
/** * UTF-7 Byte Order Mark definition. */ protected static final ByteOrderMark BOM_UTF_7 = new ByteOrderMark("UTF-7", 0x2B, 0x2F, 0x76); /** * HTML4 unescape translator. */ protected static final CharSequenceTranslator UNESCAPE_HTML4 = new AggregateTranslator( new LookupTranslator(EntityArrays.BASIC_UNESCAPE), new LookupTranslator(EntityArrays.ISO8859_1_UNESCAPE),
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.5K 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)