mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Merge pull request #2252 from internetee/2250-idn-email-addresses-in-the-ascii-format-are-failing-regex-email-validation
changed regex truemail config
This commit is contained in:
commit
a9c29b9cfb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ Truemail.configure do |config|
|
|||
# config.verifier_domain = 'internet.ee'
|
||||
|
||||
# Optional parameter. You can override default regex pattern
|
||||
# config.email_pattern = /regex_pattern/
|
||||
config.email_pattern = /(?=\A.{6,255}\z)(\A([\p{L}0-9]+[\W\w]*)@(xn--)?((?i-mx:[\p{L}0-9]+([\-.]{1}[\p{L}0-9]+)*\.\p{L}{2,63}))\z)/
|
||||
|
||||
# Optional parameter. You can override default regex pattern
|
||||
# config.smtp_error_body_pattern = /regex_pattern/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue