match globbing patterns against text
