- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for m_regex (0.06 sec)
-
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) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
} val logs = ShadowLog.getLogsForTag(AndroidPlatform.Tag) assertThat(logs.map { it.type }).containsOnly(Log.INFO) assertThat( logs.map { it.msg.replace( "\\d+".toRegex(), "", ) }, ).containsExactly( "--> GET http://google.com/robots.txt", "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)", )Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java
* Adds a password for files matching the given regular expression pattern. * @param regex the regular expression pattern to match against URLs or resource names * @param password the password to use for matching files */ public void addPassword(final String regex, final String password) { passwordMap.put(Pattern.compile(regex), password); } /** * Returns the password for the given parameters.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 5.1K 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/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/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/test/java/org/codelibs/fess/job/ExecJobTest.java
System.clearProperty("config.app.module"); } // Test invalid regex in custom properties public void test_customProperties_invalidRegex() { List<String> cmdList = new ArrayList<>(); try { execJob.testAddFessCustomSystemProperties(cmdList, "[invalid(regex"); fail("Should handle invalid regex"); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
* @param key The condition key. * @param regex The regex pattern for the condition. */ public void addCondition(final String key, final String regex) { final String value = conditionMap.get(key); if (StringUtil.isBlank(value)) { conditionMap.put(key, regex); } else { conditionMap.put(key, value + "|" + regex); } } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
docs/metrics/prometheus/grafana/node/minio-node.json
"value": "$__all" }, "label": "Data source", "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "type": "datasource" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 04 01:46:49 UTC 2025 - 22.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
assertFalse(urlFilter.match("https://other.com/page.html")); } /** * 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");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0)