It is possible to disable regular expression checks after literal string matching by using "^~" prefix. If the most specific match literal location has this prefx: regular expressions are not checked.