Compile pattern before checking
Add resolving tests
Test completion with glob
Merge pull request #22 from zolotov/extract-matching-method

Compile pattern before checking