BUG: Fixed parsing of unquoted arguments to allow double-quotes within the argument.

This commit is contained in:
Brad King 2004-06-18 10:54:45 -04:00
parent 2716ac3966
commit 97391045bd
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
(defconst cmake-regex-paren-left "(")
(defconst cmake-regex-paren-right ")")
(defconst cmake-regex-argument-quoted "\"\\([^\"\\\\]\\|\\\\\\(.\\|\n\\)\\)*\"")
(defconst cmake-regex-argument-unquoted "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)+")
(defconst cmake-regex-argument-unquoted "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)\\([^ \t\r\n()#\\\\]\\|\\\\.\\)*")
(defconst cmake-regex-token (concat "\\(" cmake-regex-comment
"\\|" cmake-regex-paren-left