note 19660 added to ref.regex

From: Date: Thu, 07 Mar 2002 03:26:05 +0000
Subject: note 19660 added to ref.regex
Groups: php.notes 
Request: Send a blank email to php-notes+get-27447@lists.php.net to get a copy of this message
sorry to be picky here but saying ^ is beginning of a line or $ is end of line is rather misleading, if you're working on a daily basis with regexes. it might be that it is most of the time correct BUT in some occasions you'd be better off to think of ^ as "start of string" and $ as "end of string". there are ways to make your regex engine forget about your system's notion of a newline, it's what is commonly refered to as multiline regexes... -- http://www.php.net/manual/en/ref.regex.php http://master.php.net/manage/user-notes.php?action=edit+19660 http://master.php.net/manage/user-notes.php?action=delete+19660 http://master.php.net/manage/user-notes.php?action=reject+19660

« previous php.notes (#27447) next »