Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 584 for pattern (0.07 sec)

  1. guava/src/com/google/common/base/Splitter.java

       * Returns a splitter that considers any subsequence matching a given pattern (regular expression)
       * to be a separator. For example, {@code Splitter.onPattern("\r?\n").split(entireFile)} splits a
       * string into lines whether it uses DOS-style or UNIX-style line terminators. This is equivalent
       * to {@code Splitter.on(Pattern.compile(pattern))}.
       *
       * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/JdkPattern.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

        private static final Pattern ATTRIBUTE_SEPARATOR = Pattern.compile("\\s*=\\s*");
        private static final Pattern END_ELEMENT_NAME = Pattern.compile("\\s+|(/>)|>");
        private static final Pattern END_ELEMENT = Pattern.compile("(/>)|>");
        private static final Pattern HTML_ENCODED_CHAR = Pattern.compile("&#\\d+;");
        private static final Pattern HTML_ENTITY = Pattern.compile("&.+?;");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/message/MessageFormatter.java

         */
        public static String getSimpleMessage(final String messageCode, final Object... args) {
            try {
                final String pattern = getPattern(messageCode);
                if (pattern != null) {
                    return MessageFormat.format(pattern, args);
                }
                return getNoPatternMessage(args);
            } catch (final Throwable ignore) {
                return getNoPatternMessage(args);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Converts a javadoc link into docbook.
     */
    public class JavadocLinkConverter {
        private static final Pattern LINK_PATTERN = Pattern.compile("(?s)\\s*([\\w\\.]*)(#(\\w+)(\\((.*)\\))?)?.*");
        private static final Pattern TYPE_PATTERN = Pattern.compile("(\\w+)\\s*(.*?)\\s*");
        private static final Pattern PARAM_DELIMITER = Pattern.compile(",\\s*");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  6. tests/test_regex_deprecated_body.py

                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "ctx": {"pattern": "^fixedquery$"},
                        "loc": ["body", "q"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                // NOP
            }
            return encoding;
        }
    
        protected String parseCharset(final String content) {
            final Pattern pattern = Pattern.compile("; *charset *= *([a-zA-Z0-9\\-_]+)", Pattern.CASE_INSENSITIVE);
            final Matcher matcher = pattern.matcher(content);
            if (matcher.find()) {
                return matcher.group(1);
            }
            return null;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py

                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "ctx": {"pattern": "^fixedquery$"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py

                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "ctx": {"pattern": "^fixedquery$"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

                return Constants.TRUE;
            }
    
            for (final Pattern pattern : includedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top