Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 466 for pattern1 (0.03 sec)

  1. 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)
  2. 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()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            System.setProperty("java.version", "11.0.1");
    
            // Test version patterns with different separators
            String[] args = new String[] { "11:-Dprop=value:with:colons", "8-:-Xbootclasspath/a:/path/to/jar", "malformed11:-invalid", // Should not match pattern
                    "11-malformed:-invalid" // Should not match pattern
            };
    
            String[] result = JvmUtil.filterJvmOptions(args);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/InputValidator.java

        public static final int MAX_CREDITS = 65535;
    
        // Patterns for validation
        private static final Pattern VALID_USERNAME = Pattern.compile("^[a-zA-Z0-9._\\-@]+$");
        private static final Pattern VALID_DOMAIN = Pattern.compile("^[a-zA-Z0-9._\\-]+$");
        private static final Pattern VALID_SHARE = Pattern.compile("^[a-zA-Z0-9._\\-$]+$");
        private static final Pattern PATH_TRAVERSAL = Pattern.compile("\\.\\.[\\\\/]");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

        // Patterns for sensitive data - compiled once and cached
        private static final Pattern PASSWORD_PATTERN = Pattern.compile(
                "(?i)(password|passwd|pwd|secret|token|key|credential|auth)([\"']?\\s*[:=]\\s*[\"']?)([^\"',\\s]+)", Pattern.CASE_INSENSITIVE);
    
        private static final Pattern IP_PATTERN = Pattern.compile("\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertFalse(validator.isValid("* * * *", context));
        }
    
        // Test common valid cron patterns that are likely to work
        public void test_basicValidCronExpressions() {
            final ConstraintValidatorContext context = null;
    
            // Test basic patterns that should be valid
            String[] potentiallyValidCrons = { "0 0 * * * ?", // Every hour
                    "0 */15 * * * ?", // Every 15 minutes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/PathValidator.java

        // Path traversal patterns
        private static final Pattern TRAVERSAL_PATTERN = Pattern.compile("\\.\\.[\\\\/]|[\\\\/]\\.\\.");
        private static final Pattern DOUBLE_DOT_PATTERN = Pattern.compile("\\.\\.");
        private static final Pattern ENCODED_TRAVERSAL = Pattern.compile("%2e%2e|%252e%252e", Pattern.CASE_INSENSITIVE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top