Add isUserEmail function to form utils
What does this MR do and why?
Extract user email regex to lib/utils/forms.js for reuse.
Addresses Follow-up from "Change email validation regex t... (#421370 - closed)
Closes #421370 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Alex Buijs