- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 173 for Regex (0.02 sec)
-
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/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/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) -
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) -
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)