diff options
Diffstat (limited to 'src/validators.js')
-rw-r--r-- | src/validators.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 "<i> ... :</i>" at start of any line`); } |