Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 353 for batters (0.05 seconds)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

        Iterable<String> letters = Splitter.on(Pattern.compile(", ")).split(longDelimiter);
        assertThat(letters).containsExactly("", "a", "b", "c").inOrder();
      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testPatternSplitWithLongTrailingDelimiter() {
        String longDelimiter = "a, b, c/ ";
        Iterable<String> letters = Splitter.on(Pattern.compile("[,/]\\s")).split(longDelimiter);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

                    .getTotalHits()
                    .value() > 0);
    
            // Verify pattern can be retrieved
            final List<Pattern> patterns = urlFilterService.getIncludeUrlPatternList(sessionId);
            assertEquals(1, patterns.size());
            assertTrue(patterns.get(0).matcher("http://example.com/page1").matches());
            assertFalse(patterns.get(0).matcher("http://other.com/page1").matches());
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * Converts a GSA URL pattern into a regular expression pattern suitable for Fess.
         * Handles various GSA pattern formats including regexp, contains, and URL-based patterns.
         *
         * @param s the input GSA pattern string
         * @return a regular expression pattern string, or empty string for comments/invalid patterns
         */
        protected String getFilterPath(final String s) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("text/html").matches());
        }
    
        @Test
        public void test_fsFileRulePattern_lhaTypes() {
            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("application/lha").matches());
            assertTrue(pattern.matcher("application/x-lha").matches());
    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)
  5. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

         * - Second: List of regex pattern matches (Pattern -> content template)
         */
        protected Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = Collections.emptyMap();
    
        /**
         * Prefix used to identify regex patterns in related content terms.
         * When a term starts with this prefix, it is treated as a regular expression
         * pattern rather than an exact match term.
         */
    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. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

        /** Pattern used to match file paths that this creator can handle. */
        protected Pattern pattern;
    
        /** Manager for dictionary operations and lifecycle. */
        @Resource
        protected DictionaryManager dictionaryManager;
    
        /**
         * Creates a new DictionaryCreator with the specified pattern.
         *
         * @param pattern the regular expression pattern to match file paths
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/PrunedTag.java

         * @throws FessSystemException if the input string contains invalid tag patterns
         */
        public static PrunedTag[] parse(final String value) {
            return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(v -> {
                final Pattern pattern = Pattern.compile("(\\w+)(\\[[^\\]]+\\])?(\\.[\\w\\-]+)?(#[\\w\\-]+)?");
                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
    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)
  8. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            LabelTypePattern pattern = new LabelTypePattern("test", "/test.*", "/exclude.*");
    
            // Should match included path
            assertTrue(pattern.match("/test/path"));
    
            // Should not match excluded path
            assertFalse(pattern.match("/exclude/path"));
    
            // Should not match non-included path
            assertFalse(pattern.match("/other/path"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. src/main/resources/fess_config.properties

    crawler.document.html.default.lang=
    # Patterns to include for HTML index processing.
    crawler.document.html.default.include.index.patterns=
    # Patterns to exclude for HTML index processing.
    crawler.document.html.default.exclude.index.patterns=(?i).*(css|js|jpeg|jpg|gif|png|bmp|wmv|xml|ico|exe)
    # Patterns to include for HTML search processing.
    crawler.document.html.default.include.search.patterns=
    # Patterns to exclude for HTML search processing.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
     * DOS-style file filter implementation for SMB1 protocol.
     * Filters files based on wildcard patterns and DOS file attributes.
     */
    public class DosFileFilter implements SmbFileFilter {
    
        /**
         * The wildcard pattern for filtering file names.
         */
        protected String wildcard;
    
        /**
         * The DOS file attributes to filter on.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top