mirror of https://github.com/gofiber/fiber.git
🚗 Prepare regex patterns
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…
Reference in New Issue