changed regex

This commit is contained in:
2022-06-08 09:52:05 -05:00
parent 2490236af3
commit 95ec0c42f6
3 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ function readReadmeFile(readmeFile: string): [string, string] {
const content = readFileSync(readmeFile).toString()
const regex =
/\n{0,1}<!-- START INSTALL LINKS -->(?:.|\n)*?<!-- END INSTALL LINKS -->\n{0,1}/
/<!-- START INSTALL LINKS -->(?:.|\n)*?<!-- END INSTALL LINKS -->/
const index = regex.exec(content)?.index
let contentPre = '',