Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for Pattern (0.04 sec)

  1. cmd/endpoint-ellipses_test.go

    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 27, 0),
    						},
    					},
    				},
    				nil,
    				[][]uint64{{9, 9, 9}},
    			},
    			true,
    		},
    		{
    			"/export/set{1...64}",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "/export/set",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

         * The user-agent pattern in the directive is converted to a regular expression pattern,
         * where '*' is replaced with '.*' for pattern matching, and stored case-insensitively.
         *
         * @param directive The directive to add to the robots.txt rules
         */
        public void addDirective(final Directive directive) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        /**
         * Test adding invalid regex include pattern
         */
        public void test_addInclude_invalidRegex() {
            String sessionId = "test-session-004";
            urlFilter.init(sessionId);
    
            // Invalid regex pattern should be handled gracefully
            urlFilter.addInclude(".*[invalid");
            urlFilter.addInclude("https://valid.com/.*");
    
            // Valid pattern should still work
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

        }
    
        /**
         * Gets the pattern for extracting charset from meta tags.
         *
         * @return the meta charset pattern
         */
        public Pattern getMetaCharsetPattern() {
            return metaCharsetPattern;
        }
    
        /**
         * Sets the pattern for extracting charset from meta tags.
         *
         * @param metaCharsetPattern the meta charset pattern to set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

        }
    
        /**
         * Extracts the token value from the content using the given pattern.
         * @param tokenPattern The regex pattern.
         * @param content The content to search.
         * @return The extracted token value.
         */
        protected String getTokenValue(final String tokenPattern, final String content) {
            final Matcher matcher = Pattern.compile(tokenPattern).matcher(content);
            if (matcher.find()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test with wildcard patterns")
        void testWildcardPatterns() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
    
            // Test various wildcard patterns
            String[] patterns = { "*", "*.txt", "test*.*", "?test?.doc" };
    
            for (String pattern : patterns) {
                request.setFileName(pattern);
    
                byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. pom.xml

    							<licenseFamilyName>GNU Lesser General Public License</licenseFamilyName>
    							<notes />
    							<patterns>
    								<pattern>This library is free software; you can redistribute it</pattern>
    								<pattern>GNU Lesser General Public License</pattern>
    							</patterns>
    						</license>
    					</licenses>
    					<licenseFamilies>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top