Allows {regex} to capture anchors