forked from mirrors/nixpkgs
fix ctags wrapper js regex
svn path=/nixpkgs/trunk/; revision=17856
This commit is contained in:
parent
f237bad7b0
commit
87a60a6afd
|
@ -56,8 +56,9 @@
|
|||
# var foo = function () { ... }
|
||||
# {
|
||||
# a : function () {}
|
||||
# only recognize names up 100 characters. Else you'll be in trouble scanning compressed .js files.
|
||||
jsLang = [
|
||||
"--regex-JavaScript=/([^ \\t]*)[ \\t]*:[ \\t]*function[ \\t]*\\(/\\1/f/"
|
||||
"--regex-JavaScript=/([^ \\t]{1,100})[ \\t]*:[ \\t]*function[ \\t]*\\(/\\1/f/"
|
||||
];
|
||||
|
||||
# find foo in "foo =", don't think we can do a lot better
|
||||
|
|
Loading…
Reference in a new issue