|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-20 17:08 UTC] pajoye@php.net
[2003-02-20 22:41 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 09:00:01 2025 UTC |
$path='Hello\ World There is\ a\ dog'; $split=preg_split('/(?<!\\)\s+/',$path); print_r($split); returns: Warning: Compilation failed: lookbehind assertion is not fixed length at offset 9 in /home/paj/projects/pear/core/test.php on line 17 /home/paj/projects/pear/core/test.php(17) : Warning - Compilation failed: lookbehind assertion is not fixed length at offset 9 $path='Hello\ World There is\ a\ dog'; $split=preg_split('/(?<!\\\)\s+/',$path); print_r($split); does not, but does not work as expected with others cases. It seems to work with 4.3.0, a test url: http://devel.akbkhome.com/regex.php which runs 4.3.0, the 1st expression works correclty pierre