Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 750 for Pattern (0.05 sec)

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

             * @return the compiled Pattern object
             */
            private static Pattern compilePattern(final String pattern) {
                final StringBuilder regex = new StringBuilder();
                regex.append("^"); // Match from the start
    
                for (int i = 0; i < pattern.length(); i++) {
                    final char c = pattern.charAt(i);
                    if (c == '*') {
    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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          hostname += "."
        }
        if (!pattern.endsWith(".")) {
          pattern += "."
        }
        // Hostname and pattern are now absolute domain names.
    
        pattern = pattern.asciiToLowercase()
        // Hostname and pattern are now in lower case -- domain names are case-insensitive.
    
        if ("*" !in pattern) {
          // Not a wildcard pattern -- hostname and pattern must match exactly.
          return hostname == pattern
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient instance is null. Cannot register null client.");
            }
            clientMap.put(Pattern.compile(regex), client);
        }
    
        /**
         * Adds a client with a regular expression pattern at a specific position.
         * @param regex The regular expression to match URLs.
         * @param client The CrawlerClient instance.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

        }
    
        /**
         * Adds an include URL pattern for the specified session.
         * @param sessionId the session ID
         * @param url the URL pattern to include
         */
        public synchronized void addIncludeUrlPattern(final String sessionId, final String url) {
            final List<Pattern> patternList = getIncludeUrlPatternList(sessionId);
            patternList.add(Pattern.compile(url));
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        }
    
        /**
         * Converts a pattern string to a plain pattern string without delimiters.
         *
         * @param pattern the pattern string
         * @return the plain pattern string without delimiters
         */
        protected static String toPlainPattern(final String pattern) {
            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

         * @param regex the regular expression pattern
         */
        public void addRule(final String key, final String regex) {
            regexMap.put(key, Pattern.compile(regex));
        }
    
        /**
         * Adds a compiled regular expression rule for the specified field.
         * @param key the field name to match against
         * @param pattern the compiled regular expression pattern
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        }
    
        /**
         * Gets the list of include URL patterns for the specified session.
         *
         * @param sessionId The session ID.
         * @return The list of compiled include patterns.
         * @throws CrawlerSystemException if the patterns cannot be loaded.
         */
        @Override
        public List<Pattern> getIncludeUrlPatternList(final String sessionId) {
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. .github/labels.json

              "pattern": "/^((?!question).)*$/is"
            },
            {
              "type": "descriptionMatches",
              "pattern": "/^((?!Describe the feature).)*$/is"
            },
            {
              "type": "titleMatches",
              "pattern": "/^((?!critical|urgent).)*$/s"
            },
            {
              "type": "descriptionMatches",
              "pattern": "/^((?!critical|urgent).)*$/s"
            }
          ]
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Oct 19 03:49:03 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

            final List<Pattern> includeList = getUrlFilterService().getIncludeUrlPatternList(sessionId);
            final List<Pattern> excludeList = getUrlFilterService().getExcludeUrlPatternList(sessionId);
    
            if (!includeList.isEmpty()) {
                boolean match = false;
                for (final Pattern pattern : includeList) {
                    final Matcher matcher = pattern.matcher(url);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/PatternConcatenationFilterFactory.java

                logger.debug("pattern1: {}, pattern2: {}", pattern1Str, pattern2Str);
            }
            if (pattern1Str != null) {
                pattern1 = Pattern.compile(pattern1Str);
                pattern2 = Pattern.compile(pattern2Str);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            return new PatternConcatenationFilter(tokenStream, pattern1, pattern2);
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top