Allow catching of ends like **/
Merge pull request #2 from cptroot/patch-2

Allow catching of ends like **/