From 224cc9533af4206b0783edb59b538c65b1826192 Mon Sep 17 00:00:00 2001 From: Eric Haskins Date: Sat, 28 Oct 2023 22:48:02 -0500 Subject: [PATCH] Add missing `g` flag in custom extraction example --- src/pages/docs/content-configuration.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/content-configuration.mdx b/src/pages/docs/content-configuration.mdx index 3cedee6c7..bcddf0dc6 100644 --- a/src/pages/docs/content-configuration.mdx +++ b/src/pages/docs/content-configuration.mdx @@ -519,7 +519,7 @@ module.exports = { files: ['./src/**/*.{html,wtf}'], extract: { wtf: (content) => { - return content.match(/[^<>"'`\s]*/) + return content.match(/[^<>"'`\s]*/g) } } },