Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for Pattern (0.03 sec)

  1. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Platform.java

      }
    
      static CommonPattern compilePattern(String pattern) {
        Preconditions.checkNotNull(pattern);
        return patternCompiler.compile(pattern);
      }
    
      static boolean patternCompilerIsPcreLike() {
        return patternCompiler.isPcreLike();
      }
    
      private static PatternCompiler loadPatternCompiler() {
        // We want the JDK Pattern compiler:
        // - under Android (where it hurts startup performance)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

         * @param pattern
         *            the pattern string
         * @return the converted {@literal long}
         */
        public static long toPrimitiveLong(final Object o, final String pattern) {
            return switch (o) {
            case null -> 0L;
            case Number n -> n.longValue();
            case String s -> toPrimitiveLong(s);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                return false;
            }
    
            Pattern pattern = (Pattern) propMap.get(USER_CODE_PATTERN);
            if (pattern == null) {
                pattern = Pattern.compile(getUserCodePattern());
                propMap.put(USER_CODE_PATTERN, pattern);
            }
            return pattern.matcher(userCode).matches();
        }
    
        String getQueryCollapseInnerHitsSorts();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    final Pattern pattern = Pattern.compile(value);
                    paramMap.put(URL_EXCLUDE_PATTERN, pattern);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Using exclude pattern: {}", pattern);
                    }
                }
                if (paramMap.get(URL_EXCLUDE_PATTERN) instanceof final Pattern pattern) {
                    if (pattern.matcher(url).matches()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /** Format identifier for PDF date parsing */
        private static final String PDF_DATE = "pdf_date";
    
        /** Regular expression pattern for matching email addresses */
        private static final Pattern EMAIL_ADDRESS_PATTERN =
                Pattern.compile("[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}", Pattern.CASE_INSENSITIVE);
    
        /**
         * Cache for storing resource file modification timestamps to enable cache busting.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertTrue(pattern.match("/test/path"));
    
            // Should not match excluded path
            assertFalse(pattern.match("/exclude/path"));
        }
    
        public void test_labelTypePattern_match_noPatterns() {
            LabelTypePattern pattern = new LabelTypePattern("test", null, null);
    
            // Should match everything when no patterns
            assertTrue(pattern.match("/any/path"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/TimeConversionUtil.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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

            }
        }
    
        /**
         * Converts the 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. 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
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top