Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 258 for match2 (0.04 seconds)

  1. 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());
            }
        }
    
        @Test
    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)
  2. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        }
    
        /**
         * Gets the current match expression.
         *
         * @return the match expression string
         */
        public String getMatchExpression() {
            return matchExpression;
        }
    
        /**
         * Sets the match expression used to determine if documents should be boosted.
         *
         * @param expression the match expression string
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                 String invalidLink = matcher.group();
                 errorsForFile.add(new Error(lineNumber, line, "Markdown-style links are not supported: " + invalidLink));
            }
        }
    
        private void gatherDeadLinksInLine(File sourceFile, String line, int lineNumber, List<Error> errorsForFile) {
            Matcher matcher = linkPattern.matcher(line);
            while (matcher.find()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertTrue("text/html".matches("text/html"));
            assertTrue("application/pdf".matches("application/pdf"));
            assertTrue("image/jpeg".matches("image/jpeg"));
            assertTrue("image/png".matches("image/png"));
            assertTrue("image/gif".matches("image/gif"));
            assertTrue("image/tiff".matches("image/tiff"));
        }
    
        @Test
        public void test_addConditionWithSvgMimetype() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.put("data1", 20);
            assertTrue(docBoostMatcher.match(map));
    
            map.put("data1", 5);
            assertFalse(docBoostMatcher.match(map));
    
            map.remove("data1");
            assertFalse(docBoostMatcher.match(map));
    
            map.put("data2", 5);
            assertFalse(docBoostMatcher.match(map));
        }
    
        @Test
        public void test_string() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    // Check field name follows convention
                    assertTrue("Field name should match pattern: " + field.getName(), labelPattern.matcher(field.getName()).matches());
    
                    // Check field value follows convention
                    field.setAccessible(true);
                    String value = (String) field.get(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

            final String servletPath = request.getServletPath();
            final boolean matches = servletPath.startsWith(CHAT_API_PATH);
            if (logger.isTraceEnabled()) {
                logger.trace("ChatApiManager.matches() checking path. servletPath={}, expectedPrefix={}, matches={}", servletPath,
                        CHAT_API_PATH, matches);
            }
            return matches;
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/SystemUtil.java

         * @return The masked value if the key matches a sensitive pattern, otherwise the original value
         */
        public static String maskSensitiveValue(final String key, final String value) {
            if (key == null || value == null) {
                return value;
            }
            if (getSensitivePattern().matcher(key).matches()) {
                return "********";
            }
            return value;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:32:50 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tagWithIdAndCss.matches(nodeWithBothIdAndClass));
    
            // Node with correct id but different class should still match (id takes precedence)
            MockNode nodeWithCorrectIdWrongClass = new MockNode("div");
            nodeWithCorrectIdWrongClass.addAttribute("id", "main");
            nodeWithCorrectIdWrongClass.addAttribute("class", "other");
            assertTrue(tagWithIdAndCss.matches(nodeWithCorrectIdWrongClass));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

            }
            for (final WebApiManager webApiManager : webApiManagers) {
                if (webApiManager.matches(request)) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("WebApiManager matched. servletPath={}, manager={}", servletPath,
                                webApiManager.getClass().getSimpleName());
                    }
                    return webApiManager;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.1K bytes
    - Click Count (0)
Back to Top