We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1122157 + a1dccdd commit 9f61526Copy full SHA for 9f61526
1 file changed
src/utils/lyric/lyricParser.ts
@@ -96,7 +96,7 @@ export const detectLrcFormat = (content: string): LrcFormat => {
96
export const parseWordByWordLrc = (content: string): LyricLine[] => {
97
const result: LyricLine[] = [];
98
let prevLine: LyricLine | null = null;
99
- const WORD_BY_WORD_PATTERN = /\[(\d{2}):(\d{2})\.(\d{1,})\]([^[\\]]*)/g;
+ const WORD_BY_WORD_PATTERN = /\[(\d{2}):(\d{2})\.(\d{1,})\]([^[\]]*)/g;
100
101
for (const rawLine of content.split(/\r?\n/)) {
102
const line = rawLine.trim();
0 commit comments