- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for funescape (0.05 seconds)
-
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("\\\\", "\\"); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Test that MIME type patterns work correctly as regex // This verifies the fix for SVG thumbnail generation issue // where image/svg+xml was not matching due to unescaped + character // SVG MIME type - the + must be escaped in regex String svgMimetype = "image/svg+xml"; String svgPatternWrong = "image/svg+xml"; // Wrong: + means "one or more" in regexCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
} @Test public void test_unescape() { GsaConfigParser parser = new GsaConfigParser(); assertEquals("test\\", parser.unescape("test\\\\")); assertEquals("test", parser.unescape("test")); assertEquals("\\", parser.unescape("\\\\")); } @Test public void test_appendFilterPath() { GsaConfigParser parser = new GsaConfigParser();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.7K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
// Verify escaped pattern matches assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches()); // Verify unescaped pattern does NOT match assertFalse("Unescaped pattern should NOT match: " + mimeType, Pattern.compile(mimeType).matcher(mimeType).matches()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (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 @Test public void test_unescape_noBackslash() { String content = "word1\n"; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (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 - Fess Configuration: `src/main/resources/fess_config.properties`
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 11:36:30 GMT 2025 - 10.4K bytes - Click Count (1)