I'm confused about path in express.use. In express document https://expressjs.com/en/4x/api.html#app.use
it said: Path:This will match paths starting with /abcd:
app.use('/abcd', function (req, res, next) {
next()
})
Does this mean the '/abcd' in app.use work like regex?, which will match any url starting with /abcd (like /abcd/efg) Then, it will somehow "remove" the /abcd part in the above url, and pass "/efg" to the middleware function? (by middleware, I am referring to the router example here app.use('/birds', birds) https://expressjs.com/en/guide/routing.html)
If so, is express.router.use(), router.get(), App.get() works the same way?