|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-24 15:18 UTC] user at devnull dot org
[2007-01-24 15:20 UTC] tony2001@php.net
[2007-01-25 06:18 UTC] oliver dot christen at camptocamp dot com
[2007-01-25 06:22 UTC] oliver dot christen at camptocamp dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 15:00:01 2025 UTC |
Description: ------------ when using preg_match, the end delimiter of regexp expression is now expected to be ^, breaking all compability. shouldnt the end delimiter be '$' ? Reproduce code: --------------- preg_match ("^(.+)$", 'foo', $regs); print_r($regs); Expected result: ---------------- Array ( [0] => foo [1] => foo ) Actual result: -------------- Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in C:\[..cut..]