parent
d4024a16ad
commit
392681c1b7
@ -94,7 +94,7 @@ function *parseIntoRegexpInternal(str: string): Iterable<RegExp> {
|
|||||||
|
|
||||||
// multi-expression
|
// multi-expression
|
||||||
if (str.includes(",")) {
|
if (str.includes(",")) {
|
||||||
for (const part in str.split(",")) {
|
for (const part of str.split(",")) {
|
||||||
yield *parseIntoRegexpInternal(part);
|
yield *parseIntoRegexpInternal(part);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user