Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

         * @throws IllegalArgumentException if this is not a well-formed media type.
         */
        @JvmStatic
        @JvmName("get")
        fun String.toMediaType(): MediaType {
          val typeSubtype =
            TYPE_SUBTYPE.matchAt(this, 0)
              ?: throw IllegalArgumentException("No subtype found for: \"$this\"")
          val type = typeSubtype.groupValues[1].lowercase()
          val subtype = typeSubtype.groupValues[2].lowercase()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

                if (obj != null) {
                    value = obj.toString();
                }
                final Matcher matcher = entry.getValue().matcher(value);
                if (allRequired) {
                    if (!matcher.matches()) {
                        return false;
                    }
                } else if (matcher.matches()) {
                    return true;
                }
            }
    
            return allRequired;
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. 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);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

                    value = resourceName;
                }
    
                if (value != null) {
                    for (final Map.Entry<Pattern, String> entry : passwordMap.entrySet()) {
                        if (entry.getKey().matcher(value).matches()) {
                            return entry.getValue();
                        }
                    }
                }
            }
    
            if (params != null && url != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        void oidFormat() {
            assertAll(() -> assertTrue(OID_PATTERN.matcher(SpnegoConstants.SPNEGO_MECHANISM).matches(), "Invalid OID: SPNEGO_MECHANISM"),
                    () -> assertTrue(OID_PATTERN.matcher(SpnegoConstants.KERBEROS_MECHANISM).matches(), "Invalid OID: KERBEROS_MECHANISM"),
                    () -> assertTrue(OID_PATTERN.matcher(SpnegoConstants.LEGACY_KERBEROS_MECHANISM).matches(),
                            "Invalid OID: LEGACY_KERBEROS_MECHANISM"),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) {
                final Matcher matcher = entry.getKey().matcher(urlKey);
                if (matcher.matches()) {
                    return entry.getValue();
                }
            }
            return null;
        }
    
        /**
         * Sets the initialization parameter map for all clients.
         * @param params The map of parameters.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top