Browse Source

- Fixed bug #28804 (ini-file section parsing pattern is buggy).

PHP-5.1
foobar 21 years ago
parent
commit
77ee4950dd
  1. 2
      Zend/zend_ini_scanner.l

2
Zend/zend_ini_scanner.l

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

Loading…
Cancel
Save