note 33777 added to pcre.pattern.syntax

From: Date: Mon, 07 Jul 2003 15:13:03 +0000
Subject: note 33777 added to pcre.pattern.syntax
Groups: php.notes 
Request: Send a blank email to php-notes+get-51638@lists.php.net to get a copy of this message
Very obvious, but heres a short and sweet regexp to match the first two entries of a Windows filesystem directory ( . and .. ), but leave the files (e.g. filename.ext) /^\.+$/ ---- Manual Page -- http://www.php.net/manual/en/pcre.pattern.syntax.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33777 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33777&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33777&report=yes

« previous php.notes (#51638) next »