note 15367 deleted from function.preg-split by jimw

From: Date: Fri, 02 Nov 2001 02:11:56 +0000
Subject: note 15367 deleted from function.preg-split by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20251@lists.php.net to get a copy of this message
owh, and for some extra notes on the messages above about why u have to use the / with preg_split is indeed becuz its perl and then u define the actual regex with it..it's called delimiter, thus the regex delimiter, outside the delimiter you can define modifiers.. (at least that's how it works with preg_match_all) uhm,without modifier: preg_split("'\s+'"," {$str} ") with modifier: preg_split("'\s+'i"," {$str} ") check the actual PCRE manual for regex information :-) Good luck, Emile Bosch

« previous php.notes (#20251) next »