Skip to content

Commit

Permalink
build: loosen regular expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Aug 31, 2024
1 parent e0cef99 commit 0215bd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/_tools/scripts/publish_packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@ var BRANCHES_WITH_CLI = [
'[cli-url]: https://github.com/stdlib-js/<pkg>/tree/cli'
].join( '\n' );

var RE_CLI_USAGE_SECTION = /(## CLI\r?\n\r?\n)(<!-- CLI usage documentation\. -->\r?\n\r?\n)?<section class="usage">/;
var RE_C_USAGE_SECTION = /(<!-- C usage documentation\. -->\r?\n\r?\n)<section class="usage">/;
var RE_USAGE_SECTION = /<section class="usage">/;
var RE_CLI_USAGE_SECTION = /(## CLI\r?\n\r?\n\s*)(<!-- CLI usage documentation\. -->\r?\n\r?\n\s*)?<section\s+class\s*=\s*"usage"\s*>/;
var RE_C_USAGE_SECTION = /(<!-- C usage documentation\. -->\r?\n\r?\n\s*)<section\s+class\s*=\s*"usage"\s*>/;
var RE_USAGE_SECTION = /<section\s+class\s*=\s*"usage"\s*>/;
var BASIC_GITHUB_TOPICS = [
'nodejs',
'javascript',
Expand Down

0 comments on commit 0215bd7

Please sign in to comment.