FUEL: improved regexps for setters and getters, now they arent fooled by the parsing words << and >>

db4
Björn Lindqvist 2013-12-01 00:08:20 +01:00 committed by John Benediktsson
parent 4d56a136a1
commit d93a444c4c
1 changed files with 2 additions and 2 deletions

View File

@ -307,10 +307,10 @@ source/docs/tests file. When set to false, you'll be asked only once."
"<[^ >]+>")
(defconst factor-getter-regex
"\\(^\\|\\_<\\)[^ ]+?>>\\_>")
"\\_<\\(?:\\sw\\|\\s_\\)+>>\\_>")
(defconst factor-setter-regex
"\\_<>>.+?\\_>")
"\\_<>>\\(?:\\sw\\|\\s_\\)+\\_>")
(defconst factor-symbol-definition-regex
(factor-second-word-regex '("&:" "SYMBOL:" "VAR:" "CONSTANT:")))