Allows using a RegEx for secured paths