You can find here the source code that allow to convert the regexp back into an array of string to display a tooltip that show what emails are allowed like shown on the video above.
The legacy way of doing it would be with this plugin and usingkcContext["authorizedMailDomains"] to validate in realtime.