Skip to content

Commit 4d6f13d

Browse files
committed
fix implicit query type glob not working
e.g "juno" - extracts nothing
1 parent a1a7925 commit 4d6f13d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

DataTool/IQueryParser.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public bool ShouldDo(string name, Dictionary<string, TagExpectedValue>? expected
8484
}
8585
}
8686

87-
return Values.Allowed.Matches(name) || Values.Allowed.Matches(alternateNames);
87+
// use IsAllowed because it specifically checks for 0 count set ( = glob)
88+
return Values.IsAllowed(name) || Values.Allowed.Matches(alternateNames);
8889
}
8990
}
9091

0 commit comments

Comments
 (0)