Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for regexes (0.39 sec)

  1. 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)
  2. 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)
  3. 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)
  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/taglib/FessFunctions.java

    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Objects;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.apache.commons.lang3.time.DurationFormatUtils;
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. 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)
  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/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

     */
    package org.codelibs.fess.mylasta.action;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Modifier;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessLabelsTest extends UnitFessTestCase {
    
        private FessLabels fessLabels;
    
        @Override
        public void setUp() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.user.exbhv;
    
    import java.util.Map;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.opensearch.user.bsbhv.BsRoleBhv;
    import org.codelibs.fess.opensearch.user.exentity.Role;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*";
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP)) {
                return p.substring(GsaConfigParser.REGEXP.length());
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP_CASE)) {
                return p.substring(GsaConfigParser.REGEXP_CASE.length());
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top