You might as well use // for comments since that's not a useful regex
either and it's pretty commonly used today.
Michael
On 1/17/06, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
> On Tue, Jan 17, 2006 at 09:19:07PM +0100, Branko Čibej wrote:
> > Hm. There'se already a well-established syntax for decorating regular
> > expressions (or globs, in our case); sed, perl, etc. use it; so maybe
> > the flags should follow the pattern, e.g.,
> >
> > *.cat/!
> >
> > (One feature that lots of people will come shouting for are
> > case-insensitive ignore patterns, and perhaps true regular expressions
> > in the svn:ignore prop.)
> >
>
> I was going to say almost exactly the same thing.
>
> Do we have access to a regular expression library at the point we parse
> svn:ignore? If we did, we could perhaps use a leading '/' to indicate
> a real regex, resulting in something like:
>
> /.*\.[a-z]/if
>
> to match any file (f) with a single-character extension, regardless of
> case (i). We might imply ^ and $ at the start and end of the pattern,
> since the alternative is more error-prone.
>
> Though perhaps true regex support is a solution in search of a problem:
> do we have a clear idea about what people would actually like to do,
> that they can't now?
>
> Regards,
> Malcolm
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
Received on Wed Jan 18 04:22:22 2006