We're checking against regexes (hence the use of `===`). PostgreSQL overrides this to use it as a hash, since it only uses integers for its registrations.