note 103497 added to function.preg-match

From: Date: Fri, 15 Apr 2011 18:41:41 +0000
Subject: note 103497 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-178896@lists.php.net to get a copy of this message
Is there documentation on using non / characters to declare a pattern? Just spent an hour looking a regular expression created with "@<regexp>@" because it searches for the / character and the code's writer probably did not want to escape the code. Did some more test and I was able to create a functioning pattern using a pair of +, !, and various symbols. ---- Server IP: 69.147.83.197 Probable Submitter: 173.46.10.114 ---- Manual Page -- http://www.php.net/manual/en/function.preg-match.php Edit -- https://master.php.net/note/edit/103497 Del: integrated -- https://master.php.net/note/delete/103497/integrated Del: useless -- https://master.php.net/note/delete/103497/useless Del: bad code -- https://master.php.net/note/delete/103497/bad+code Del: spam -- https://master.php.net/note/delete/103497/spam Del: non-english -- https://master.php.net/note/delete/103497/non-english Del: in docs -- https://master.php.net/note/delete/103497/in+docs Del: other reasons-- https://master.php.net/note/delete/103497 Reject -- https://master.php.net/note/reject/103497 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178896) next »