refactor and export wildcard_matches
Merge pull request #21 from mirleft/export-wildcard-matching

refactor and export wildcard_matches