FUEL: improve handling of whitespace in regexps

db4
Björn Lindqvist 2013-09-20 16:44:08 +02:00 committed by John Benediktsson
parent 86712433cd
commit 05b18519f6
1 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@ source/docs/tests file. When set to false, you'll be asked only once."
"\\_<FUNCTION-ALIAS: +\\(\\w+\\)[\n ]+\\(\\w+\\)[\n ]+\\(\\w+\\)")
(defconst factor-alien-callback-regex
"\\_<CALLBACK: +\\(\\w+\\) +\\(\\w+\\)")
"\\_<CALLBACK:[ \n]+\\(\\w+\\)[ \n]+\\(\\w+\\)")
(defconst factor-indent-def-starts
'("" ":"
@ -406,7 +406,7 @@ source/docs/tests file. When set to false, you'll be asked only once."
"\\_<C: +\\(\\w+\\) +\\(\\w+\\)\\( .*\\)?$")
(defconst factor-typedef-regex
(format "\\_<TYPEDEF: +%s %s\\( .*\\)?$" symbol symbol))
(format "\\_<TYPEDEF: +%s +%s\\( .*\\)?$" symbol symbol))
(defconst factor-c-global-regex
"\\_<C-GLOBAL: +\\(\\w+\\) +\\(\\w+\\)\\( .*\\)?$")