Mappings trump regexes