File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ import pathToRegexp "github.com/soongo/path-to-regexp"
51
51
- ** Modifier** The modifier character used for the segment (e.g. ` ? ` )
52
52
- ** options**
53
53
- ** Sensitive** When ` true ` the regexp will be case sensitive. (default: ` false ` )
54
- - ** Strict** When ` true ` the regexp allows an optional trailing delimiter to match. (default: ` false ` )
54
+ - ** Strict** When ` true ` the regexp won't allow an optional trailing delimiter to match. (default: ` false ` )
55
55
- ** End** When ` true ` the regexp will match to the end of the string. (default: ` true ` )
56
56
- ** Start** When ` true ` the regexp will match from the beginning of the string. (default: ` true ` )
57
57
- ** Validate** When ` false ` the function can produce an invalid (unmatched) path. (default: ` true ` )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ type Options struct {
39
39
// When true the regexp will be case sensitive. (default: false)
40
40
Sensitive bool
41
41
42
- // When true the regexp allows an optional trailing delimiter to match. (default: false)
42
+ // When true the regexp won't allow an optional trailing delimiter to match. (default: false)
43
43
Strict bool
44
44
45
45
// When true the regexp will match to the end of the string. (default: true)
You can’t perform that action at this time.
0 commit comments