FUEL: improved regexps for setters and getters, now they arent fooled by the parsing words << and >>
parent
4d56a136a1
commit
d93a444c4c
|
@ -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:")))
|
||||
|
|
Loading…
Reference in New Issue