Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for regexes (0.2 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    ### Pydantic v1 `regex` instead of `pattern`
    
    Before Pydantic version 2 and before FastAPI 0.100.0, the parameter was called `regex` instead of `pattern`, but it's now deprecated.
    
    You could still see some code using it:
    
    === "Python 3.10+ Pydantic v1"
    
        ```Python hl_lines="11"
        {!> ../../../docs_src/query_params_str_validations/tutorial004_an_py310_regex.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial003.py!}
    ```
    
    ## Ajouter des validations par expressions régulières
    
    On peut définir une <abbr title="Une expression régulière, regex ou regexp est une suite de caractères qui définit un pattern de correspondance pour les chaînes de caractères.">expression régulière</abbr> à laquelle le paramètre doit correspondre :
    
    ```Python hl_lines="10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/query-params-str-validations.md

    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_py310.py!}
        ```
    
    ## 🚮 🥔 🧬
    
    👆 💪 🔬 <abbr title="A regular expression, regex or regexp is a sequence of characters that define a search pattern for strings.">🥔 🧬</abbr> 👈 🔢 🔜 🏏:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/query-params-str-validations.md

    ## まとめ
    
    パラメータに追加のバリデーションとメタデータを宣言することができます。
    
    一般的なバリデーションとメタデータ:
    
    * `alias`
    * `title`
    * `description`
    * `deprecated`
    
    文字列のためのバリデーション:
    
    * `min_length`
    * `max_length`
    * `regex`
    
    この例では、`str`の値のバリデーションを宣言する方法を見てきました。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 10.5K bytes
    - Viewed (1)
  5. docs/de/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003.py!}
        ```
    
    ## Reguläre Ausdrücke hinzufügen
    
    Sie können einen <abbr title="Ein regulärer Ausdruck, auch regex oder regexp genannt, ist eine Zeichensequenz, die ein Suchmuster für Strings definiert.">Regulären Ausdruck</abbr> `pattern` definieren, mit dem der Parameter übereinstimmen muss:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003.py!}
        ```
    
    ## Регулярные выражения
    
    Вы можете определить <abbr title="Регулярное выражение, regex или regexp - это последовательность символов, определяющая шаблон для строк.">регулярное выражение</abbr>, которому должен соответствовать параметр:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
Back to top