Regular Expresion Problem
| From: | Javier Leyba | Date: | Thu, 13 Jul 2000 19:39:57 +0000 |
| Subject: | Regular Expresion Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6529@lists.php.net to get a copy of this message | ||
Hi !
I'm porting a Perl application to PHP4. All went well till I've tried to split an string
with the following code:
in Perl the program did: my (@token) = split (/[^\w\+\-]/, $mio); ok
in PHP I've tried to do: $token = split("/[^\w\+\-]/", $mio); without success.
Could someone help me ?
PD: Please replay to my email.
Javier Leyba