Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 48 for matcherIn (0.04 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            inline fun <reified T> inAnyOrder(items: List<T>): Matcher<Iterable<T>> = inAnyOrder(items.toTypedArray())
    
            /**
             * Matcher checking each item is present exactly once in a given iterable, but an any position,
             * and that there are no unexpected items.
             */
            private
            fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items)
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            Matcher matcher = linkPattern.matcher(line);
            while (matcher.find()) {
                MatchResult xrefMatcher = matcher.toMatchResult();
                String link = xrefMatcher.group(1);
                if (link.contains("#")) {
                    Matcher linkMatcher = linkWithHashPattern.matcher(link);
                    if (linkMatcher.matches()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

            assertFalse(pattern.matcher("text/html").matches());
        }
    
        @Test
        public void test_webFileRulePattern_doesNotMatchImageTypes() {
            Pattern pattern = Pattern.compile(WEB_FILE_RULE_PATTERN);
            assertFalse(pattern.matcher("image/jpeg").matches());
            assertFalse(pattern.matcher("image/png").matches());
            assertFalse(pattern.matcher("image/gif").matches());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        /**
         * Creates a path matcher function for path mapping.
         *
         * @param matcher the regex matcher
         * @param replacement the replacement string
         * @return the path matcher function
         */
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final Pattern pattern = Pattern.compile("test");
            final Matcher matcher = pattern.matcher("test");
            final BiFunction<String, Matcher, String> pathMatcher = pathMappingHelper.createPathMatcher(matcher, "function:encodeUrl");
    
            String result = pathMatcher.apply("http://example.com/test path", matcher);
            assertEquals("http://example.com/test+path", result);
        }
    
        @Test
    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)
  6. src/main/java/org/codelibs/fess/util/PrunedTag.java

                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
                        final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/search/HealthApiTests.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.search;
    
    import static io.restassured.RestAssured.given;
    import static org.hamcrest.Matchers.anyOf;
    import static org.hamcrest.Matchers.equalTo;
    import static org.hamcrest.Matchers.notNullValue;
    
    import org.codelibs.fess.it.ITBase;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.Tag;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                        .findFirst()
                        .orElseThrow(() -> new IOException("Can't find package definition in file " + file));
                    Matcher matcher = pattern.matcher(packageLine);
                    if (matcher.find()) {
                        return matcher.group(1);
                    } else {
                        throw new IOException("Can't extract package name from file " + file);
                    }
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            int lineNum = 0;
            for (final String line : values) {
                final Matcher matcher = pattern.matcher(line);
                if (matcher.matches()) {
                    if (lineNum == 0) {
                        lineNum = Integer.parseInt(matcher.group(1));
                        list.clear();
                    }
                    list.add(matcher.group(2));
                } else {
                    list.add(line);
                }
    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)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    return null;
                }
                final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
                final StringBuffer buf = new StringBuffer(value.length() + 100);
                while (matcher.find()) {
                    matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost));
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
Back to Top