note 124057 added to reference.pcre.pattern.modifiers

From: Date: Mon, 22 Jul 2019 12:37:20 +0000
Subject: note 124057 added to reference.pcre.pattern.modifiers
Groups: php.notes 
Request: Send a blank email to php-notes+get-211672@lists.php.net to get a copy of this message
A warning about the /i modifier and POSIX character classes: If you're using POSIX character classes in your regex that indicate case such as [:upper:] or [:lower:] in combination with the /i modifier, then in PHP < 7.3 the /i modifier will take precedence and effectively make both those character classes work as [:alpha:], but in PHP >= 7.3 the character classes overrule the /i modifier. ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.195 (proxied: 2001:980:38e1:1:7037:5b4d:5b9c:238c) ---- Manual Page -- http://php.net/manual/en/reference.pcre.pattern.modifiers.php Edit -- https://master.php.net/note/edit/124057 Del: integrated -- https://master.php.net/note/delete/124057/integrated Del: useless -- https://master.php.net/note/delete/124057/useless Del: bad code -- https://master.php.net/note/delete/124057/bad+code Del: spam -- https://master.php.net/note/delete/124057/spam Del: non-english -- https://master.php.net/note/delete/124057/non-english Del: in docs -- https://master.php.net/note/delete/124057/in+docs Del: other reasons-- https://master.php.net/note/delete/124057 Reject -- https://master.php.net/note/reject/124057 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#211672) next »