Fix bug #132
Fix #132. Incorrect regexp caused methods names with a capital letter to be interpreted as a class name. Adding a start of word \\< seems to fix it.
This commit is contained in:
parent
820c3b3cd4
commit
6d6ec77634
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ The expressions are joined as alternatives with the \\| operator."
|
|||
"Regular expression matching method names.")
|
||||
|
||||
(defconst sclang-class-name-regexp
|
||||
"\\(?:Meta_\\)?[A-Z]\\(?:\\sw\\|\\s_\\)*"
|
||||
"\\<\\(?:Meta_\\)?[A-Z]\\(?:\\sw\\|\\s_\\)*"
|
||||
"Regular expression matching class names.")
|
||||
|
||||
(defconst sclang-primitive-name-regexp
|
||||
|
|
Loading…
Reference in a new issue