diff --git a/README.md b/README.md index 23a8c7f..74e545f 100644 --- a/README.md +++ b/README.md @@ -770,7 +770,7 @@ The alternative syntax isn't used because it has several disadvantages: ## 🏷️ About -`regex` was partly inspired by [XRegExp](https://github.com/slevithan/xregexp)'s `.tag` and [regexp-make-js](https://github.com/mikesamuel/regexp-make-js). `regex`'s only dependency is the ultra-lightweight [`regex-utilities`](https://github.com/slevithan/regex-utilities), which was separated so it can be reused by `regex` extensions. +`regex` was partly inspired by [XRegExp](https://github.com/slevithan/xregexp)'s `.tag` and [regexp-make-js](https://github.com/mikesamuel/regexp-make-js). `regex`'s only dependency is the ultra-lightweight [regex-utilities](https://github.com/slevithan/regex-utilities), which was separated so it can be reused by `regex` plugins. Crafted by Steven Levithan with ❤︎ for regular expressions and their enthusiasts.
MIT License. diff --git a/src/pattern.js b/src/pattern.js index ecfd730..37605a6 100644 --- a/src/pattern.js +++ b/src/pattern.js @@ -19,7 +19,7 @@ Can be called as a function or template tag: - `` pattern`…` `` - Same as ``pattern(String.raw`…`)``. @overload -@param {string} value +@param {string | number} value @returns {Pattern} @overload