X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=userdiff.c;h=efbe05e5a5b6f1aa9a6b92365a4f987f6078dc04;hb=f696a2b1c850c81130740945835beec72727debf;hp=324916f20ff54de4d2352d42e26b3927f2ab40c1;hpb=bd72a08d6ce451e7d4725d6b3b411d482333e5cb;p=thirdparty%2Fgit.git diff --git a/userdiff.c b/userdiff.c index 324916f20f..efbe05e5a5 100644 --- a/userdiff.c +++ b/userdiff.c @@ -34,8 +34,9 @@ PATTERNS("dts", "|[-+*/%&^|!~]|>>|<<|&&|\\|\\|"), PATTERNS("elixir", "^[ \t]*((def(macro|module|impl|protocol|p)?|test)[ \t].*)$", + /* -- */ /* Atoms, names, and module attributes */ - "|[@:]?[a-zA-Z0-9@_?!]+" + "[@:]?[a-zA-Z0-9@_?!]+" /* Numbers with specific base */ "|[-+]?0[xob][0-9a-fA-F]+" /* Numbers */