Skip to content

Commit

Permalink
fix: license attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
htdangkhoa committed Mar 1, 2024
1 parent daa066e commit 4a6c24e
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 4a6c24e

Please sign in to comment.