Reconstruct NonDotRouteToken("id", true, Some("[0-9]+".r)): - Not for Swagger => ":id<[0-9]+>" - For Swagger => {id}
May be updated if matched
Used when matching "*"
Used by ReverseRoute (reverse routes are cached, thus no need to cache numPlaceholders as "val")
Used when isPlaceholder is true
Left(error) or Right((token value, remaining params))