Rails for Beginners Part 12: Validations Discussion
Dicussion for Rails for Beginners Part 12: Validations
I tried copying this regex "\A[@\s][email protected][@\s]+\z" to https://rubular.com/ but it aren't working until I remove the \A and \z making this [@\s][email protected][@\s]+ before it could work, any reason for that?
I think you might be doing something wrong. It works in my case, https://rubular.com/r/SrvWLLOAMEq27C