Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 340 for Regex (0.03 seconds)

  1. android/guava/src/com/google/common/base/JdkPattern.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

            transformations.add(new InjectWarnings(Arrays.asList(warnings), testName));
        }
    
        /**
         * Adds one or more regex warnings to the given test
         *
         * @param testName      the test name to add the regex warning
         * @param warningsRegex the regex warning(s) to add
         */
        public void addWarningRegex(String testName, String... warningsRegex) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RepositoriesSetupPlugin.java

    import java.net.MalformedURLException;
    import java.net.URI;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    public class RepositoriesSetupPlugin implements Plugin<Project> {
    
        private static final Pattern LUCENE_SNAPSHOT_REGEX = Pattern.compile("\\w+-snapshot-([a-z0-9]+)");
    
        @Override
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            return appendFileterPath(buf, escape(s));
        }
    
        /**
         * Escapes special regex characters in a string to create a literal pattern.
         * Handles anchor characters (^ and $) specially to preserve their regex meaning.
         *
         * @param s the string to escape
         * @return an escaped regex pattern, or empty string for comments
         */
        protected String escape(final String s) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  5. src/main/config/es/fess_config_path_mapping.json

                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "processType" : {
                "type" : "keyword"
              },
              "regex" : {
                "type" : "keyword"
              },
              "replacement" : {
                "type" : "keyword"
              },
              "sortOrder" : {
                "type" : "integer"
              },
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/SearchBody.java

        /**
         * Default constructor.
         */
        public SearchBody() {
            super();
        }
    
        /** Regular expression pattern for path mapping */
        public String regex;
    
        /** Replacement pattern for path mapping */
        public String replacement;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      // Checks that the exception.getMessage() matches a regex of the form:
      // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA"
      private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
        String regex = Joiner.on("\\b.*\\b").join(expectedLockCycle);
        assertThat(exception).hasMessageThat().containsMatch(regex);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      // Checks that the exception.getMessage() matches a regex of the form:
      // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA"
      private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
        String regex = Joiner.on("\\b.*\\b").join(expectedLockCycle);
        assertThat(exception).hasMessageThat().containsMatch(regex);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/JdkPattern.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
        assertThat(recorded.headers["Connection"]).isEqualTo("Keep-Alive")
        assertThat(recorded.headers["User-Agent"]!!).matches(Regex("okhttp/.*"))
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top