]> granicus.if.org Git - php/commitdiff
- Fixed bug #28804 (ini-file section parsing pattern is buggy).
authorfoobar <sniper@php.net>
Thu, 3 Feb 2005 03:01:56 +0000 (03:01 +0000)
committerfoobar <sniper@php.net>
Thu, 3 Feb 2005 03:01:56 +0000 (03:01 +0000)
Zend/zend_ini_scanner.l

index 38da6574fd8b453183670e6f9f29d8af4c93c401..060e215d0cbcba5e096f810fc4792f1dbbd8c5ad 100644 (file)
@@ -116,7 +116,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
        return CFG_FALSE;
 }
 
-<INITIAL>[[][^[]+[\]][ ]*{NEWLINE}? {
+<INITIAL>\[[^\]\[]+\][ ]*{NEWLINE}? {
        /* SECTION */
 
        /* eat trailing ] and spaces */