working on matching (regex/glob)