How FastAPI handles path matching? #4967
Replies: 1 comment
-
|
This official documentation shows that how Django handles the URL pattern matching. It used to be RegEx as the URL patterns but now they have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am a Dart developer. I am developing a new server-side library something like FastAPI (I inspired a lot of FastAPI).
I am using Regular Expressions to match the request path and the handler path:
example:
/my/path/1567to match/my/path/([0-9]+)but I was wondering if there is a better way to handle the route path that makes the matching take less time.
Thanks.
My project/library: https://seifalmotaz.github.io/cruky/
Beta Was this translation helpful? Give feedback.
All reactions