Mongo.Ecto.Regex.type

You're seeing just the function type, go back to Mongo.Ecto.Regex module for more information.

The Ecto primitive type.