add the regex named pattern method and http_version for future use