Use correct grouping
This commit is contained in:
parent
6ed84b9560
commit
1e8e7ad6ec
@ -108,7 +108,7 @@ export function importText(data: string) {
|
|||||||
if (data.includes(NS_METALINK_RFC5854)) {
|
if (data.includes(NS_METALINK_RFC5854)) {
|
||||||
return importMeta4(data);
|
return importMeta4(data);
|
||||||
}
|
}
|
||||||
const splitter = /(?:(.|\r)+)\n|(.+)$/g;
|
const splitter = /((?:.|\r)+)\n|(.+)$/g;
|
||||||
const spacer = /^\s+/;
|
const spacer = /^\s+/;
|
||||||
let match;
|
let match;
|
||||||
let current: BaseItem | undefined = undefined;
|
let current: BaseItem | undefined = undefined;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user