[PATCH] Regexp support for svn:ignore
From: Osku Salerma <osku_at_iki.fi>
Date: 2006-06-17 14:22:04 CEST
The attached patch adds support for regexps in svn:ignore patterns. Since
/pattern/flags
The only flag currently supported is 'i', which means case-insensitive.
Before matching, the pattern is modified to start with '^' and end with
An example use case for the feature: I have a directory on a www site that
The patch is more or less a proof-of-concept, with at least the following
* Do we even want to add a new dependency for a regexp library?
* If so, which one? My patch uses PCRE (www.pcre.org), which seems to be
* If we use PCRE, how do we handle
* My patch adds the PCRE library globally to all executables, even though
* Windows buildsystem needs to be modified.
* Error handling. The attached patch dies on errors (invalid regexp,
* Do we need to test that PCRE was compiled with UTF-8 support enabled? If
Opinions?
-- Osku Salerma - osku_at_iki.fi - http://www.oskusoft.com/osku/
---------------------------------------------------------------------
|
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.