File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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"
5151 - ** Modifier** The modifier character used for the segment (e.g. ` ? ` )
5252- ** options**
5353 - ** 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 ` )
5555 - ** End** When ` true ` the regexp will match to the end of the string. (default: ` true ` )
5656 - ** Start** When ` true ` the regexp will match from the beginning of the string. (default: ` true ` )
5757 - ** 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 {
3939 // When true the regexp will be case sensitive. (default: false)
4040 Sensitive bool
4141
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)
4343 Strict bool
4444
4545 // 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