mirror of
https://github.com/gofiber/fiber.git
synced 2025-07-13 07:39:35 +00:00
🚗 Prepare regex patterns
This commit is contained in:
parent
6bae5e75bf
commit
30ca24140f
1
path.go
1
path.go
@ -31,6 +31,7 @@ type paramSeg struct {
|
||||
|
||||
// list of possible parameter and segment delimiter
|
||||
// slash has a special role, unlike the other parameters it must not be interpreted as a parameter
|
||||
// TODO '(' ')' delimiters for regex patterns
|
||||
var routeDelimiter = []byte{'/', '-', '.'}
|
||||
|
||||
const wildcardParam string = "*"
|
||||
|
Loading…
x
Reference in New Issue
Block a user