Fixes #13 - added abillity to match the path on regex