RegExp might be overkill, but seems liked the easiest way to catch the "wildcard" and "named" hooks...