From 449ebf2b36d0117598d617dc155456789d68f3c3 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Wed, 3 Apr 2019 14:55:31 +0300 Subject: [PATCH] Global match everywhere --- Gruntfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index feedd7f..184caf3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -14,15 +14,15 @@ const deployConfig = { const readmeReplaceRules = [ { - from: /^#\s(.+)$/, + from: /^#\s(.+)$/gm, to: '=== $1 ===' }, { - from: /^##\s(.+)$/, + from: /^##\s(.+)$/gm, to: '== $1 ==' }, { - from: /^#{3,}\s(.+)$/, + from: /^#{3,}\s(.+)$/gm, to: '= $1 =' }, ];