Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_escapedPlusDoesMatch (0.08 seconds)

  1. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

            assertFalse(pattern.matcher("application/xhtml+xml").matches());
            assertFalse(pattern.matcher("application/rdf+xml").matches());
        }
    
        @Test
        public void test_escapedPlusDoesMatch() {
            // Demonstrate the fix when + is properly escaped
            String correctPattern = "(application/xhtml\\+xml|application/rdf\\+xml)";
            Pattern pattern = Pattern.compile(correctPattern);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top