Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 348 for match4 (0.05 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/util/PrunedTag.java

                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
                        final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            }
    
            /**
             * Matches the given path.
             *
             * @param path The path to match.
             * @return True if the path matches, otherwise false.
             */
            public boolean match(final String path) {
                if (includedPaths == null) {
                    if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
                        if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

         * Retrieves related content for a given search query.
         * First checks for exact term matches, then evaluates regex patterns.
         * For regex matches, the query placeholder is replaced with the actual query.
         *
         * @param query the search query to find related content for
         * @return array of related content strings, or empty array if no matches found
         */
        public String[] getRelatedContents(final String query) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         * provided in the {@code paramMap}. If the {@code URL_EXCLUDE_PATTERN} key exists in
         * the parameter map, its value is used as a regular expression pattern to match against
         * the given URL. If the URL matches the exclusion pattern, the method returns {@code false},
         * indicating that the URL should not be crawled. Otherwise, it returns {@code true}.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            int lineNum = 0;
            for (final String line : values) {
                final Matcher matcher = pattern.matcher(line);
                if (matcher.matches()) {
                    if (lineNum == 0) {
                        lineNum = Integer.parseInt(matcher.group(1));
                        list.clear();
                    }
                    list.add(matcher.group(2));
                } else {
                    list.add(line);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
Back to Top