- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for regexes (0.06 sec)
-
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return appendFileterPath(buf, escape(s)); } /** * Escapes special regex characters in a string to create a literal pattern. * Handles anchor characters (^ and $) specially to preserve their regex meaning. * * @param s the string to escape * @return an escaped regex pattern, or empty string for comments */ protected String escape(final String s) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END GET") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)""")) .assertLogEqual("Content-Type: text/html; charset=0") .assertLogMatch(Regex("""Content-Length: \d+""")) .assertLogMatch(Regex("")) .assertLogEqual("Body with unknown charset") .assertLogMatch(Regex("""<-- END HTTP \(\d+ms, 25-byte body\)"""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""callStart: Request\{method=POST, url=$url\}""")) .assertLogMatch(Regex("""proxySelectStart: $url""")) .assertLogMatch(Regex("""proxySelectEnd: \[DIRECT]""")) .assertLogMatch(Regex("""dnsStart: ${url.host}""")) .assertLogMatch(Regex("""dnsEnd: \[.+]""")) .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT""")) .assertLogMatch(Regex("""connectEnd: http/1.1"""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
/** * Adds custom system properties that match the given regex pattern to the command list. * * @param cmdList the command list to add properties to * @param regex the regular expression pattern to match property names */ protected void addFessCustomSystemProperties(final List<String> cmdList, final String regex) { if (StringUtil.isNotBlank(regex)) { final Pattern pattern = Pattern.compile(regex);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/PathMappingDbm.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
* @param regex the regular expression to use for splitting the string * @return a stream of substrings resulting from splitting the input string, or an empty stream if the input is {@code null} */ public static StreamOf<String> split(final String value, final String regex) { return stream(value == null ? null : value.split(regex)); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
if (entity.getTerm().startsWith(regexPrefix)) { final String regex = entity.getTerm().substring(regexPrefix.length()); if (StringUtil.isBlank(regex)) { logger.warn("Unknown regex pattern: {}", entity.getTerm()); } else { pair.getSecond().add(new Pair<>(Pattern.compile(regex), entity.getContent())); } } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
assertEquals(0, results.length); } public void test_load_invalidRegex() { List<RelatedContent> testData = new ArrayList<>(); testData.add(createRelatedContent("regex:", "Invalid Regex", "")); mockBhv.setTestData(testData); // Should not throw exception, just log warning relatedContentHelper.load();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
} @GwtIncompatible // java.util.regex.Pattern public void testPatternSplitWordBoundary_singleCharInput() { String string = "f"; Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string); assertThat(words).containsExactly("f").inOrder(); } @AndroidIncompatible // Apparently Gingerbread's regex API is buggy. @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Objects; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import org.apache.commons.lang3.time.DurationFormatUtils; import org.apache.commons.text.StringEscapeUtils; import org.apache.logging.log4j.LogManager;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0)