2 --exclude=.git |
2 --exclude=.git |
3 --exclude=.hg |
3 --exclude=.hg |
4 --exclude=*min.js |
4 --exclude=*min.js |
5 |
5 |
6 --regex-perl=/^\s*has[ \t]+['"]*([A-Za-z_+][A-Za-z0-9_]+)['"]*[ \t]+/\1/a,attribute,attributes/ |
6 --regex-perl=/^\s*has[ \t]+['"]*([A-Za-z_+][A-Za-z0-9_]+)['"]*[ \t]+/\1/a,attribute,attributes/ |
7 --regex-perl=/^\s*fun +([0-9a-zA-Z_]+) *[{(]/\1/s,subroutines/ |
7 --regex-perl=/^\s*fun +([A-Za-z_][A-Za-z0-9_]+) *[{(]/\1/s,subroutines/ |
8 --regex-perl=/^\s*method +([0-9a-zA-Z_]+) *[{(]/\1/m,methods/ |
8 --regex-perl=/^\s*method +([A-Za-z_][A-Za-z0-9_]+) *[{(]/\1/m,methods/ |
9 --regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/ |
9 --regex-perl=/^\s*(around|before|after)[ \t]+['"]*([A-Za-z_][A-Za-z0-9_]+)['"]*[ \t]+/\2/x,modifier/ |
10 |
10 |
11 --langdef=Elixir |
11 --langdef=Elixir |
12 --langmap=Elixir:.ex.exs |
12 --langmap=Elixir:.ex.exs |
13 --regex-Elixir=/^[ \t]*def(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\2/f,functions,functions (def ...)/ |
13 --regex-Elixir=/^[ \t]*def(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\2/f,functions,functions (def ...)/ |
14 --regex-Elixir=/^[ \t]*defcallback[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/c,callbacks,callbacks (defcallback ...)/ |
14 --regex-Elixir=/^[ \t]*defcallback[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/c,callbacks,callbacks (defcallback ...)/ |