Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 508 for pattern (0.04 sec)

  1. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

    import java.util.Map;
    import java.util.regex.Pattern;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SpnegoConstants interface.
     * Verifies constant values, modifiers, types, and structural properties.
     */
    class SpnegoConstantsTest {
    
        // Simple OID format: numbers separated by dots (at least one dot)
        private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        @Deprecated(since = "4.0.0")
        String RELEASE_VERSION = "RELEASE";
    
        @Deprecated(since = "4.0.0")
        String LATEST_VERSION = "LATEST";
    
        String SNAPSHOT_VERSION = "SNAPSHOT";
    
        Pattern VERSION_FILE_PATTERN = Pattern.compile("^(.*)-(\\d{8}\\.\\d{6})-(\\d+)$");
    
        // TODO into artifactScope handler
    
        String SCOPE_COMPILE = "compile";
    
        String SCOPE_COMPILE_PLUS_RUNTIME = "compile+runtime";
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

            sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*"));
            assertTrue(sitemapsRule.match(responseData));
            InputStream is = responseData.getResponseBody();
            assertTrue(is instanceof InputStream);
            CloseableUtil.closeQuietly(responseData);
        }
    
        private void assertMatchFalse(ResponseData responseData) {
            sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
         * This cache improves performance by avoiding repeated parsing of client configuration rules.
         * The key is the rule string, and the value is a pair containing the client name and compiled pattern.
         */
        protected ConcurrentHashMap<String, Pair<String, Pattern>> clientRuleCache = new ConcurrentHashMap<>();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            assertFalse(result2);
            assertTrue(paramMap.get("url_exclude_pattern") instanceof Pattern);
        }
    
        public void test_isUrlCrawlable_excludePatternAsPattern() {
            DataStoreParams paramMap = new DataStoreParams();
            Pattern pattern = Pattern.compile(".*\\.jpg$");
            paramMap.put("url_exclude_pattern", pattern);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * the default is a Maven-specific variation of the {@code "glob"} pattern.
         *
         * <p>The default implementation returns an empty list, which means to apply a language-dependent pattern.
         * For example, for the Java language, the pattern includes all files with the {@code .java} suffix.</p>
         *
         * @see java.nio.file.FileSystem#getPathMatcher(String)
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            return getQuerySet().map(querySet -> {
                final String pattern = querySet.stream().map(LaFunctions::h).map(Pattern::quote).collect(Collectors.joining("|"));
                if (StringUtil.isBlank(pattern)) {
                    return null;
                }
                final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    You can define a <abbr title="A regular expression, regex or regexp is a sequence of characters that define a search pattern for strings.">regular expression</abbr> `pattern` that the parameter should match:
    
    {* ../../docs_src/query_params_str_validations/tutorial004_an_py310.py hl[11] *}
    
    This specific regular expression pattern checks that the received parameter value:
    
    * `^`: starts with the following characters, doesn't have characters before.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/PathMapping.java

    public class PathMapping extends BsPathMapping {
    
        private static final Logger logger = LogManager.getLogger(PathMapping.class);
    
        private static final long serialVersionUID = 1L;
    
        protected Pattern userAgentPattern;
    
        protected Pattern regexPattern;
    
        protected BiFunction<String, Matcher, String> pathMapperFunc;
    
        public String getId() {
            return asDocMeta().id();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         * @return the parsed charset name, or null if not found
         */
        protected String parseCharset(final String content) {
            final Pattern pattern = Pattern.compile("; *charset *= *([a-zA-Z0-9\\-_]+)", Pattern.CASE_INSENSITIVE);
            final Matcher matcher = pattern.matcher(content);
            if (matcher.find()) {
                return matcher.group(1);
            }
            return null;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top