mirror of
https://github.com/internetee/registry.git
synced 2025-06-03 19:27:29 +02:00
changed regex condition for punicodes
This commit is contained in:
parent
956f95ac98
commit
e129128a2a
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 = /(?=\A.{6,255}\z)(\A([\p{L}0-9]+[\W\w]*)@((?i-mx:[\p{L}0-9]+([\-.]{1}[\p{L}0-9, -]+)*\.\p{L}{2,63}))\z)/
|
||||
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