Use a more general regexp for matching targets
Merge pull request #1 from whitequark/patch-1

Use a more general regexp for matching targets