There isn't currently a way to check for a regex in a guard clause,
could do it in the method by pattern matching `%Regex{} = matched_url`
but might be able to get away with is_map/1 here for now