Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 230 for regex (0.02 seconds)

  1. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

    import gradlebuild.docs.dsl.source.model.PropertyMetaData;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    
    import java.util.*;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Converts raw javadoc comments into docbook.
     */
    public class JavadocConverter {
        private static final Pattern HEADER_PATTERN = Pattern.compile("h(\\d)", Pattern.CASE_INSENSITIVE);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

     * <p>
     * Pattern syntax supports:
     * <ul>
     *   <li>Standard glob patterns with {@code *}, {@code ?}, and {@code **} wildcards</li>
     *   <li>Explicit syntax prefixes like {@code "glob:"} or {@code "regex:"}</li>
     *   <li>Maven 3 compatible behavior for patterns without explicit syntax</li>
     *   <li>Default exclusion patterns for SCM files when requested</li>
     * </ul>
     *
     * @since 4.0.0
     * @see PathMatcher
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 21 19:37:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

        }
    
        @Test
        void testVersionRegexMatching() throws Exception {
            Profile profile = newProfile(ActivationOS.newBuilder().version("regex:.*aws"));
    
            assertActivation(true, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
            assertActivation(true, profile, newContext(null, newProperties("windows", "6.5.0-1014-aws", "aarch64")));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.regex.Pattern;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Predicates}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          cache.edit(key)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"")
        }
        assertFailsWith<IllegalArgumentException> {
          key = "has_CR\r"
          cache.edit(key)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"")
        }
        assertFailsWith<IllegalArgumentException> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

            }
    
            DefaultParser parser = new DefaultParser();
            parser.setRegexCommand("[:]{0,1}[a-zA-Z!]{1,}\\S*"); // change default regex to support shell commands
    
            String banner = """
    
                    ░▒▓██████████████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓███████▓▒░  ░▒▓███████▓▒░░▒▓█▓▒░░▒▓█▓▒░\s
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         * useful regardless of this renderer's needs, since now there will be a link embedded in the report
         * to quickly open the changes file.  By then we can also regex that path out of the description
         * in order to create a changes {@link File} for further use in this class.
         *
         * @param data the report data containing a description to parse
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.regex.Pattern;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

     */
    package org.apache.maven.artifact;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Matcher;
    
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * ArtifactUtils
     */
    public final class ArtifactUtils {
    
        public static boolean isSnapshot(String version) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
Back to Top