Skip to content

Commit

Permalink
build: ensure to only match require in usage section
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Sep 22, 2023
1 parent 2bcc7a5 commit 5768290
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var RE_FUN_SIG = /#### [^(\n]*([^\n]*?\([^\n]*?\))\n[\s\S]*?\./;
var RE_DESCR = /\n> ([^\n]+).\n/;
var RE_LINKS = /\[([^\]]+)\]\[[^\]]+\]/g;
var RE_FUN = /#### [^(.\n]*?\([^\n]*?\)\n[\s\S]*?\./g;
var RE_PKG = /require\( '([\s\S]*?)' \)/;
var RE_PKG = /## Usage[\s\S]*?require\( '([\s\S]*?)' \)/;
var RE_ALIAS = /#### ([^(]*)\(/;


Expand Down

0 comments on commit 5768290

Please sign in to comment.