Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for regex (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/job/ExecJob.java

        /**
         * Adds custom system properties that match the given regex pattern to the command list.
         *
         * @param cmdList the command list to add properties to
         * @param regex the regular expression pattern to match property names
         */
        protected void addFessCustomSystemProperties(final List<String> cmdList, final String regex) {
            if (StringUtil.isNotBlank(regex)) {
                final Pattern pattern = Pattern.compile(regex);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/stream/StreamUtil.java

         * @param regex the regular expression to use for splitting the string
         * @return a stream of substrings resulting from splitting the input string, or an empty stream if the input is {@code null}
         */
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            System.clearProperty("config.app.module");
        }
    
        // Test invalid regex in custom properties
        public void test_customProperties_invalidRegex() {
            List<String> cmdList = new ArrayList<>();
    
            try {
                execJob.testAddFessCustomSystemProperties(cmdList, "[invalid(regex");
                fail("Should handle invalid regex");
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

         * @param key The condition key.
         * @param regex The regex pattern for the condition.
         */
        public void addCondition(final String key, final String regex) {
            final String value = conditionMap.get(key);
            if (StringUtil.isBlank(value)) {
                conditionMap.put(key, regex);
            } else {
                conditionMap.put(key, value + "|" + regex);
            }
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. 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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/node/minio-node.json

              "value": "$__all"
            },
            "label": "Data source",
            "name": "DS_PROMETHEUS",
            "options": [],
            "query": "prometheus",
            "refresh": 1,
            "regex": "",
            "type": "datasource"
          },
          {
            "current": {},
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS}"
            },
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 22.5K bytes
    - Viewed (0)
Back to top