summaryrefslogtreecommitdiff
path: root/Zend/zend_ini_scanner.l
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2009-08-04 02:34:04 +0000
committerJani Taskinen <jani@php.net>2009-08-04 02:34:04 +0000
commitea98d7a72ebcf99094b9266968e2c56f1493f400 (patch)
tree229c7cec51958b4ec938c49c265454bee771b6d2 /Zend/zend_ini_scanner.l
parent4d8d8d73db3321f8a389c7f8dfc765ed4884938c (diff)
downloadphp-git-ea98d7a72ebcf99094b9266968e2c56f1493f400.tar.gz
- Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys)
Diffstat (limited to 'Zend/zend_ini_scanner.l')
-rw-r--r--Zend/zend_ini_scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l
index c6ff0784e7..ac1ac76ac2 100644
--- a/Zend/zend_ini_scanner.l
+++ b/Zend/zend_ini_scanner.l
@@ -308,7 +308,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
TABS_AND_SPACES [ \t]
WHITESPACE [ \t]+
CONSTANT [a-zA-Z][a-zA-Z0-9_]*
-LABEL [a-zA-Z0-9*._-]*
+LABEL [^=\n\r\t ;|&$~(){}!"\[]+
TOKENS [:,.\[\]"'()|^&+-/*=%$!~<>?@{}]
OPERATORS [&|~()!]
DOLLAR_CURLY "${"