note 43491 deleted from function.eregi by cmb

From: Date: Sun, 20 Oct 2019 08:45:50 +0000
Subject: note 43491 deleted from function.eregi by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212684@lists.php.net to get a copy of this message
Note Submitter: gullevek at gullevek dot org ---- for the comment from 'joseph dot ragsdale at xconduit dot com' The regex has one bug thought. It elminates <user>@jp.t.ne.jp addresses which are completly valid as it needs at least 2 chars in the domain part. This regex fixes it: ^[_a-z0-9-]+(\.[_a-z0-9-]+)* @[a-z0-9-]+(\.[a-z0-9-]{1,})*\.([a-z]{2,}){1}$ [but the regex in one line]

« previous php.notes (#212684) next »