Repository navigation
v0.4.1
@cookbook/pathkit
0.4.1
Patch Changes
-
db577c1: Improve
regexconstraint normalization when generating route match patterns.The
regexconstraint now removes wrapping^and unescaped trailing$anchors from the provided regex source before composing the final route matcher.Examples:
/posts/{slug:regex(^[a-z0-9-]+$)} /posts/{slug:regex([a-z0-9-]+)}