From a9d1ee1147c7d02d8f89529ec875de9ffbcea207 Mon Sep 17 00:00:00 2001 From: Selim Belhaouane Date: Tue, 5 Mar 2024 12:55:08 -0500 Subject: [PATCH] Fix header in README (#345) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4083084..6996f90 100644 --- a/README.md +++ b/README.md @@ -443,8 +443,8 @@ router.hasRoute('GET', '/:file(^\\D+).jpg') // => false ``` -```js #### lookup(request, response, [context], [done]) + Start a new search, `request` and `response` are the server req/res objects.
If a route is found it will automatically call the handler, otherwise the default route will be called.
The url is sanitized internally, all the parameters and wildcards are decoded automatically.