зеркало из https://github.com/Azure/sway.git
update annotation
This commit is contained in:
Родитель
595c4b0b54
Коммит
5b28a97de5
|
@ -169,7 +169,7 @@ function buildRegex (hostTemplate, basePathPrefix, path, isCaseSensitive) {
|
|||
}
|
||||
|
||||
/**
|
||||
* To support parameter name with dash(-), replace the parameter names to array index , and will restore the name in the result object later.
|
||||
* To support parameter name with dash(-), replace the parameter names to array index , and will restore the name in the result object regexp later.
|
||||
* It caused by a design issue in pathToRegexp library that the parameter names must use "word characters" ([A-Za-z0-9_]).
|
||||
* for more details,see https://github.com/pillarjs/path-to-regexp
|
||||
**/
|
||||
|
|
Загрузка…
Ссылка в новой задаче