Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for replaceAll (0.07 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    pos--;
                }
    
                value = escaped.substring(pos + 1);
            } else {
                value = escaped;
            }
            return value.replaceAll(escapedHighlightPre, highlightTagPre).replaceAll(escapedHighlightPost, highlightTagPost);
        }
    
        /**
         * Removes highlight tags from a string.
         *
         * @param str the string containing highlight tags
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

            // Replace forward slashes with backslashes for consistency
            String normalized = path.replace('/', '\\');
    
            // Remove duplicate slashes
            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's the root
            if (normalized.length() > 1 && normalized.endsWith("\\")) {
                normalized = normalized.substring(0, normalized.length() - 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

      public void testGetKeyMatchesString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          String fieldName = property.name();
          String expected = Ascii.toLowerCase(fieldName).replaceAll("_", ".");
          assertEquals(expected, property.key());
        }
      }
    
      public void testGetValue() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } else if (lowerPath.endsWith("/")) {
                    response.setContentType("text/html;charset=utf-8");
                }
            }
    
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            assertEquals(1, sortBuilders.size());
            logger.info("{} => {}", text, sortBuilders.get(0).toString());
            assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
        }
    
        private QueryContext assertQueryBuilder(final Class<?> expectedClass, final String expectedQuery, final String text) throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

                    return data; // No sensitive patterns detected, skip regex
                }
            }
    
            // Mask passwords and secrets using cached pattern
            return PASSWORD_PATTERN.matcher(data).replaceAll("$1$2****");
        }
    
        private Map<String, Object> maskContext(Map<String, Object> context) {
            if (!maskSensitiveData) {
                return context;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

            if (url == null) {
                return null;
            }
            String convertedUrl = url;
            for (final Map.Entry<String, String> entry : convertMap.entrySet()) {
                convertedUrl = convertedUrl.replaceAll(entry.getKey(), entry.getValue());
            }
            return convertedUrl;
        }
    
        /**
         * Adds a conversion rule.
         *
         * @param target The target string.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. tests/sql_builder_test.go

    	// convert single quote into double quote
    	sql = strings.ReplaceAll(sql, `'`, `"`)
    
    	// convert dialect special quote into double quote
    	switch DB.Dialector.Name() {
    	case "postgres", "gaussdb":
    		sql = strings.ReplaceAll(sql, `"`, `"`)
    	case "mysql", "sqlite":
    		sql = strings.ReplaceAll(sql, "`", `"`)
    	case "sqlserver":
    		sql = strings.ReplaceAll(sql, `'`, `"`)
    	}
    
    	return sql
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                    extention = strings[strings.length - 1];
                } else {
                    filePrefix = name;
                    extention = "";
                }
                filePrefix = filePrefix.replaceAll("\\p{Zs}", "_");
            } else {
                filePrefix = "none";
                extention = "";
            }
            File inputFile = null;
            File outputFile = null;
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/InputValidator.java

            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top