split filter by dots and match individual parts (allows filtering e.g. h.m.Pr to get haxe.macro.Printer)