Skip to content

Commit

Permalink
Merge pull request #289 from htdangkhoa/develop
Browse files Browse the repository at this point in the history
fix: license attribution
  • Loading branch information
htdangkhoa committed Mar 3, 2024
2 parents daa066e + 4a6c24e commit 4a4ddab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*!
* regexparam v2.0.2
* https://github.com/lukeed/regexparam
*
* Copyright (c) Luke Edwards <[email protected]> (lukeed.com)
* Released under the MIT license
*/
function regexToParams(str, loose) {
if (str instanceof RegExp) return { keys: false, pattern: str };

Expand Down

0 comments on commit 4a4ddab

Please sign in to comment.