Rapid Developer lesson 8 (RegEx for email address validation)

0
Hi guys, I am finishing the the lesson 8 and when running my app locally, I can see that the RegEx provided within the lesson we should copy & paste gives me an error.   (?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])   The above gives me an error upon entering email address: student3@gmail.com   Any suggestions for troubleshooting?
asked
2 answers
0

The provided regular expression seems to be a valid email address pattern, but without knowing the specific error message you are receiving. just try these:

  • Verify the Mendix email validation module settings:
  • Test with other email addresses:
  • Check for syntax errors: Make sure the regular expression is entered correctly, without any typos or syntax errors. Double-check the parentheses, brackets, and other special characters to ensure they are in the right places.

answered
0

Hi Kirtti,

Thanks for this.

I did not change anything and when running the app today, it worked.

Cheers,

Ray

answered