Adrien Schildknecht writes:
> + "^([ \t]*(function[ \t]*)?[a-zA-Z_][a-zA-Z0-9_]*[ \t]*\\([ \t]*\\).*)$",
I guess this should be 'function[ \t]+' (+, not *).
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a m
Add regexp based on the "Shell Command Language" specifications.
Because of the lax syntax of sh, some corner cases may not be
handled properly.
Signed-off-by: Adrien Schildknecht
---
Documentation/gitattributes.txt | 2 ++
t/t4018-diff-funcname.sh| 1 +
t/t4018/sh-function
Hi,
I'm a french student from EPITA and I plan to apply for the GSoC.
Adrien Schildknecht (1):
userdiff: funcname and word patterns for sh
Documentation/gitattributes.txt | 2 ++
t/t4018-diff-funcname.sh| 1 +
t/t4018/sh-function | 4
t/t4018/sh-function-comment
3 matches
Mail list logo