- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 178 for m_regex (0.04 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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
} } } /** * Adds a client with a regular expression pattern. * @param regex The regular expression to match URLs. * @param client The CrawlerClient instance. */ public void addClient(final String regex, final CrawlerClient client) { if (StringUtil.isBlank(regex)) { throw new CrawlerSystemException("A regular expression is null."); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7K 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/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) -
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/rule/impl/RegexRule.java
/** * Adds a regular expression rule for the specified field. * @param key the field name to match against * @param regex the regular expression pattern */ public void addRule(final String key, final String regex) { regexMap.put(key, Pattern.compile(regex)); } /** * Adds a compiled regular expression rule for the specified field.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java
* @param regex The regular expression to match URLs. * @param componentName The name of the component to register. */ public synchronized void register(final String regex, final String componentName) { clientMap.put(regex, componentName); clientFactoryList.forEach(f -> load(f, regex, componentName)); } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K 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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
* @param regex The regular expression for the client. * @param client The CrawlerClient instance. */ @Override public void addClient(final String regex, final CrawlerClient client) { factory.addClient(regex, client); } /** * Adds a client to the wrapped factory at a specific position. * @param regex The regular expression for the client.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (0)