Added basic regex path matching