Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

[en/guide/basics/routing.md] "Regular expression applied" to path parameter of type path is incorrect #180

Open
pdmtt opened this issue Oct 18, 2023 · 0 comments

Comments

@pdmtt
Copy link

pdmtt commented Oct 18, 2023

Nowadays, the path type in the Supported types section of the Routing page of the Guide Basics reads as:

Regular expression applied: r"[^/].*?")
Cast type: str
Example matches:

  • /path/to/hello
  • /path/to/hello.txt
  • /path/to/hello/world.txt

The supplied regular expression does not match the examples:

image

Thus, the first phrase should be changed to:

Regular expression applied: r"[^/].*")

image

Writing this issue so I won't forget about it and hoping someone fixes this before I manage to.

@pdmtt pdmtt changed the title en/guide/basics/routing.md: "regular expression applied" to path parameter of type "path" is incorrect [en/guide/basics/routing.md] "Regular expression applied" to path parameter of type path is incorrect Oct 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant