Fix multi-filters

Closes #43
This commit is contained in:
Nils Maier 2019-09-02 13:33:38 +02:00
parent d4024a16ad
commit 392681c1b7

View File

@ -94,7 +94,7 @@ function *parseIntoRegexpInternal(str: string): Iterable<RegExp> {
// multi-expression
if (str.includes(",")) {
for (const part in str.split(",")) {
for (const part of str.split(",")) {
yield *parseIntoRegexpInternal(part);
}
return;