- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 290 for replacement (0.5 seconds)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
* @param replacement the replacement string * @return string with all matches replaced, or empty string if input is null */ public static String replace(final Object input, final String regex, final String replacement) { if (input == null) { return StringUtil.EMPTY; } return input.toString().replaceAll(regex, replacement); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
return value; } String newValue = value; for (final String element : Constants.RESERVED) { final String replacement = element.replaceAll("(.)", "\\\\$1"); newValue = newValue.replace(element, replacement); } return newValue; } /** * Builds the complete query string from the configured parameters.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
RenderDataUtil.register(data, "pathMappingItems", pathMappingService.getPathMappingList(pathMapPager)); // page navi // restore from pager copyBeanToBean(pathMapPager, form, op -> op.include("regex", "replacement")); } // =================================================================================== // Edit Execute
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/EscapersTest.java
} public void testBuilderRetainsState() { // Setting a safe range and unsafe replacement works as expected. Escapers.Builder builder = Escapers.builder(); builder.setSafeRange('a', 'z'); builder.setUnsafeReplacement("X"); assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("XheXXuickXXrownXXoxX"); // Explicit replacements take priority over unsafe characters. builder.addEscape(' ', "_");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
final Matcher matcher = pattern.matcher("test"); final BiFunction<String, Matcher, String> pathMatcher = pathMappingHelper.createPathMatcher(matcher, "replacement"); String result = pathMatcher.apply("test", matcher); assertEquals("replacement", result); } @Test public void test_load_withoutPathMappingBhv() { final PathMappingHelper helper = new PathMappingHelper();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
// respectively. Using a simple replacement of these patterns will allow them // to specify the absolute path to these files in a customized components.xml // file. Ideally, we'd do full pattern-evaluation against the sysprops, but this // is a first step. There are several replacements below, in order to normalizeCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/EscapersTest.java
} public void testBuilderRetainsState() { // Setting a safe range and unsafe replacement works as expected. Escapers.Builder builder = Escapers.builder(); builder.setSafeRange('a', 'z'); builder.setUnsafeReplacement("X"); assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("XheXXuickXXrownXXoxX"); // Explicit replacements take priority over unsafe characters. builder.addEscape(' ', "_");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
* @param convertUrlMap the map of regex patterns to replacement strings */ public void setConvertUrlMap(final Map<String, String> convertUrlMap) { this.convertUrlMap.putAll(convertUrlMap); } /** * Adds a URL conversion rule. * * @param regex the regular expression pattern to match * @param replacement the replacement string */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 55.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
@PathSensitive(PathSensitivity.NONE) public abstract RegularFileProperty getBaseCssFile(); /** * Key-value pairs that are replaced in the generated HTML. * * This uses Ant style replacement tokens. */ @Input public abstract MapProperty<String, String> getReplacementTokens(); @Inject protected abstract FileSystemOperations getFs(); @TaskActionCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:08:23 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/html/HtmlEscapers.java
* other Unicode encodings can). * * <p><b>Note:</b> This escaper only performs minimal escaping to make content structurally * compatible with HTML. Specifically, it does not perform entity replacement (symbolic or * numeric), so it does not replace non-ASCII code points with character references. This escaper * escapes only the following five ASCII characters: {@code '"&<>}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0)