Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for matchAt (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                return length;
            }
    
            /**
             * Checks if the given path matches this pattern.
             * @param path the path to check
             * @return true if the path matches, false otherwise
             */
            public boolean matches(final String path) {
                return regexPattern.matcher(path).find();
            }
    
            /**
             * Gets the original pattern string.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. 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()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            // Get rule after removal
            matched = ruleManager.getRule(responseData);
            assertNull(matched); // No matching rule now
    
            // Add rule4 which matches
            ruleManager.addRule(rule4);
            matched = ruleManager.getRule(responseData);
            assertEquals("rule4", matched.getRuleId());
        }
    
        /**
         * Test rule replacement scenario
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          var month = -1
          var year = -1
          val matcher = TIME_PATTERN.matcher(s)
    
          while (pos < limit) {
            val end = dateCharacterOffset(s, pos + 1, limit, true)
            matcher.region(pos, end)
    
            when {
              hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
                hour = matcher.group(1).toInt()
                minute = matcher.group(2).toInt()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * @param pattern the pattern to match against
         * @param line the line to extract the value from
         * @return the extracted value, or null if no match
         */
        protected String getValue(final Pattern pattern, final String line) {
            final Matcher m = pattern.matcher(line);
            if (m.matches() && m.groupCount() > 0) {
                return m.group(1);
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            // Should match the more specific directive
            Directive matched = robotsTxt.getMatchedDirective("GoogleBot");
            assertNotNull(matched);
            assertEquals("GoogleBot", matched.getUserAgent());
        }
    
        public void test_getMatchedDirectiveWithPartialMatch() {
            // Test getMatchedDirective with partial pattern match
            RobotsTxt robotsTxt = new RobotsTxt();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. 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);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            // Verify patterns work correctly
            assertTrue(includePatterns.get(0).matcher("http://example.com/page").matches());
            assertTrue(excludePatterns.get(0).matcher("http://example.com/admin/users").matches());
            assertFalse(excludePatterns.get(0).matcher("http://example.com/page").matches());
    
            urlFilterService.delete(sessionId);
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/ExecJob.java

                final Pattern pattern = Pattern.compile(regex);
                System.getProperties()
                        .keySet()
                        .stream()
                        .filter(k -> k != null && pattern.matcher(k.toString()).matches())
                        .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null));
            }
        }
    
        /**
         * Deletes the specified temporary directory.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Path exceeds maximum length: " + path.length());
            }
            if (PATH_TRAVERSAL.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains directory traversal sequences: " + path);
            }
            if (INVALID_PATH_CHARS.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains invalid characters: " + path);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top