Skip to content

Commit 53aa392

Browse files
authored
Add missing g flag in custom extraction example (#1707)
1 parent 4a33305 commit 53aa392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/docs/content-configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ module.exports = {
519519
files: ['./src/**/*.{html,wtf}'],
520520
extract: {
521521
wtf: (content) => {
522-
return content.match(/[^<>"'`\s]*/)
522+
return content.match(/[^<>"'`\s]*/g)
523523
}
524524
}
525525
},

0 commit comments

Comments
 (0)