From: roel kluin Date: Fri, 27 Mar 2009 09:22:42 GMT Subject: Re: [PATCH] git-cget: prints elements of C code in the git repository Message-ID: <25e057c00903270222v7acad9ebxf2ed4242570f3de5@mail.gmail.com> In-Reply-To: Hi Johannes, > - it misdetects functions: trying > > $ ./git-cget -f get_sha1.* The .* is not strict enough. What you want to do instead is: $ ./git-cget -f "get_sha1[A-Za-z0-9_]*" and that will give correct matches. Roel