From be421bae8d73ae06e66c705a6c78858bcf8568c3 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 14 Apr 2025 21:16:30 -0300 Subject: data: LyricsEntry & co --- src/validators.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/validators.js') diff --git a/src/validators.js b/src/validators.js index 6badc93a..5b8227fb 100644 --- a/src/validators.js +++ b/src/validators.js @@ -7,7 +7,7 @@ import {cut, empty, matchMultiline, typeAppearance} from '#sugar'; import { commentaryRegexCaseInsensitive, commentaryRegexCaseSensitiveOneShot, - oldStyleLyricsDetectionRegex, + multipleLyricsDetectionRegex, } from '#wiki-data'; function inspect(value) { @@ -375,7 +375,7 @@ export const isCommentary = export function isOldStyleLyrics(content) { isContentString(content); - if (oldStyleLyricsDetectionRegex.test(content)) { + if (multipleLyricsDetectionRegex.test(content)) { throw new TypeError( `Expected old-style lyrics block not to include " ... :" at start of any line`); } -- cgit 1.3.0-6-gf8a5