url
property in object to a class name
# Match `url` property in object to a class name
fun url_heuristic(raw: Map[String, nullable Object]): nullable String do
if not raw.has_key("url") then return null
var url = raw["url"].as(String)
for re, class_name in url_patterns do
if url.has(re) then return class_name
end
return null
end
lib/github/api.nit:1100,2--1109,4