New feature: path regex