-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix($urlMatcherFactory): make optional params regex grouping optional
- Previously, the optional parameter's pattern itself was assumed to match 0-length strings - That did not work if a regexp that was provided for a param required at least one character , ie, [A-Z0-9]{10,16} - Now, we wrap the pattern group with a question mark if the parameter is optional (pattern)? Closes #1576
- Loading branch information
1 parent
c3d543a
commit 06f7379
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters