[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: regexp matching in svn?

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Sat, 28 Jan 2012 14:45:59 +0100

On Sat, Jan 28, 2012 at 10:10 AM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:

[ ... ]

> Other than that, there is something about GNU diff's -F option that I
> don't like: it doesn't trim leading whitespace from the matched
> "function line", unlike the -p option.

Sorry, I made a mistake here, I misinterpreted some output. There is
no such stripping of leading whitespace from the "function-line"
anywhere. It just so happens that -p only matches lines which start
with non-whitespace.

(stripping leading whitespace in case of -F would be useful though, if
it were up to me ... gives you more significant context in those 40/50
characters)

-- 
Johan
Received on 2012-01-28 14:46:55 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.