[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: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 27 Jan 2012 16:44:56 +0100

> -----Original Message-----
> From: Johan Corveleyn [mailto:jcorvel_at_gmail.com]
> Sent: vrijdag 27 januari 2012 16:31
> To: Subversion Development
> Subject: regexp matching in svn?
>
> Hi,
>
> Is there any existing regexp matching functionality somewhere in de
> svn codebase, in a way that is reusable for new functionality? If not,
> does anyone know of a reusable third-party library that could be
> easily intregrated (I know, it would be Yet Another Dependency, but
> I'm just asking for options ...)?
>
> Use-case: I like the '-x-p' (show C-function) option for 'svn diff',
> but this is limited to C-like syntax. GNU diff also has a '-F RE'
> option, where RE is a regular expression that is used for matching the
> "function-line". I know I could make use of this functionality by
> invoking GNU diff as external diff command, but for several reasons it
> would be interesting if svn could do this internally (for one thing:
> GNU diff isn't always available / installed).
>
> And I'm sure there would be other useful things people could do with
> regexp functionality ...

Apr (or Apr-Util) has regex support, not sure which but we require both.

        Bert
Received on 2012-01-27 16:45:35 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.