hipster-labs / jhipster-daily-builds

:construction_worker: :rocket: Additional builds for generator-jhipster repository
Apache License 2.0
19 stars 25 forks source link

Add Better Regex Pattern for Emails #33

Closed SudharakaP closed 4 years ago

SudharakaP commented 4 years ago

This replaces our email regex patter with a better one. The previous one generated very long string patterns which does closely represent email addresses; I believe this one generates patterns which more closely resembles an actual email.

For example with the previous pattern: tefsdlfsjfsklfjskljfjklsst@te*&&**&&&&&&%^%^%...st.comsdklfjlsdkfjskldfjsldkfj is a valid email.

Related to https://github.com/jhipster/generator-jhipster/issues/10704