🚗 Prepare regex patterns

pull/552/head
Fenny 2020-07-06 17:59:26 +02:00
parent 6bae5e75bf
commit 30ca24140f
1 changed files with 1 additions and 0 deletions

View File

@ -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 = "*"