note 120771 deleted from function.preg-match by cmb

From: Date: Sun, 13 Oct 2019 07:52:25 +0000
Subject: note 120771 deleted from function.preg-match by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212614@lists.php.net to get a copy of this message
Note Submitter: Web Architect ---- You are sure your pattern is correct but preg_match always gives you false and preg_last_error() gives you PREG_NO_ERROR? Are you tired of this and don't know what else you can check? So check flags of your pattern, my friend! There MUST be no g option. preg_match don't like that and that is why it gives you false.

« previous php.notes (#212614) next »