Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for regex (0.15 sec)

  1. tests/test_regex_deprecated_body.py

                "detail": [
                    {
                        "ctx": {"pattern": "^fixedquery$"},
                        "loc": ["body", "q"],
                        "msg": 'string does not match regex "^fixedquery$"',
                        "type": "value_error.str.regex",
                    }
                ]
            }
        )
    
    
    @needs_py310
    def test_openapi_schema():
        client = get_client()
        response = client.get("/openapi.json")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. tests/test_regex_deprecated_params.py

                "detail": [
                    {
                        "ctx": {"pattern": "^fixedquery$"},
                        "loc": ["query", "q"],
                        "msg": 'string does not match regex "^fixedquery$"',
                        "type": "value_error.str.regex",
                    }
                ]
            }
        )
    
    
    @needs_py310
    def test_openapi_schema():
        client = get_client()
        response = client.get("/openapi.json")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial004_an_py310_regex.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None, Query(min_length=3, max_length=50, regex="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 366 bytes
    - Viewed (0)
  4. src/main/webapp/css/admin/respond.min.js

    atch(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b<s.length;b++){var c=s[b],e=c.href,f=c.media,g=c.rel&&"stylesheet"===c.rel.toLowerCase();e&&g&&!o[e]&&(c.styleSheet&&c.sty...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Oct 08 12:14:13 GMT 2015
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            this.processType = value;
        }
    
        public String getRegex() {
            checkSpecifiedProperty("regex");
            return convertEmptyToNull(regex);
        }
    
        public void setRegex(String value) {
            registerModifiedProperty("regex");
            this.regex = value;
        }
    
        public String getReplacement() {
            checkSpecifiedProperty("replacement");
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap.jsp

                                    <la:form action="/admin/pathmap/">
                                        <div class="form-group row">
                                            <label for="regex" class="col-sm-2 text-sm-right col-form-label"><la:message
                                                    key="labels.regex"/></label>
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Tue Mar 31 05:47:05 GMT 2020
    - 7.4K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    public class UpgradedProperties {
    
        private static final Pattern SETTER_REGEX = Pattern.compile("set[A-Z].*");
        private static final Pattern GETTER_REGEX = Pattern.compile("get[A-Z].*");
        private static final Pattern BOOLEAN_GETTER_REGEX = Pattern.compile("is[A-Z].*");
        public static final String OLD_ACCESSORS_OF_UPGRADED_PROPERTIES = "oldAccessorsOfUpgradedProperties";
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                if (entity.getTerm().startsWith(regexPrefix)) {
                    final String regex = entity.getTerm().substring(regexPrefix.length());
                    if (StringUtil.isBlank(regex)) {
                        logger.warn("Unknown regex pattern: {}", entity.getTerm());
                    } else {
                        pair.getSecond().add(new Pair<>(Pattern.compile(regex), entity.getContent()));
                    }
                } else {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/PatternCompiler.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.RestrictedApi;
    
    /**
     * Pluggable interface for compiling a regex pattern. By default this package uses the {@code
     * java.util.regex} library, but an alternate implementation can be supplied using the {@link
     * java.util.ServiceLoader} mechanism.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/JdkPattern.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    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}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top