From 77ee4950dd71eac11ceab774c3daecccf4897d61 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 3 Feb 2005 03:01:56 +0000 Subject: [PATCH] - Fixed bug #28804 (ini-file section parsing pattern is buggy). --- Zend/zend_ini_scanner.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l index 38da6574fd8..060e215d0cb 100644 --- a/Zend/zend_ini_scanner.l +++ b/Zend/zend_ini_scanner.l @@ -116,7 +116,7 @@ NEWLINE ("\r"|"\n"|"\r\n") return CFG_FALSE; } -[[][^[]+[\]][ ]*{NEWLINE}? { +\[[^\]\[]+\][ ]*{NEWLINE}? { /* SECTION */ /* eat trailing ] and spaces */