diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-15 08:57:31 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-15 08:57:31 -0400 |
commit | 7a1b8e36b4be5aae117fe79eb07e1fbdaf516b8d (patch) | |
tree | 5fb20c19c898223a8c7d1bd1e79e5785651ffe52 /src/util | |
parent | d31c889df346b7579ce1afe0746fb4aa0ed8227d (diff) |
data: validate commentary capitalization w/ non-global regex
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/wiki-data.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/wiki-data.js b/src/util/wiki-data.js index cc3bbba3..cdbffffa 100644 --- a/src/util/wiki-data.js +++ b/src/util/wiki-data.js @@ -671,6 +671,8 @@ export const commentaryRegexCaseInsensitive = new RegExp(commentaryRegexRaw, 'gmi'); export const commentaryRegexCaseSensitive = new RegExp(commentaryRegexRaw, 'gm'); +export const commentaryRegexCaseSensitiveOneShot = + new RegExp(commentaryRegexRaw); export function filterAlbumsByCommentary(albums) { return albums |