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

Re: Easy comparisons between related trunks, branches, and tags

From: Marc Sherman <msherman_at_projectile.ca>
Date: 2005-11-10 19:27:38 CET

Marc Sherman wrote:
>
> 3) construct a regex from the two values:
> (?<=^svn://repos/project1/)trunk|(tags|branches)/[^/]+(?=/)

There's a bug in this step. An extra set of brackes is needed to get
the grouping right; the regex needs to be:

(?<=^svn://repos/project1/)(trunk|(tags|branches)/[^/]+)(?=/)

ie, it will be constructed using:

"(?<=^" + roots-set-on-dir + ")(" + roots-value + ")(?=/)"

- Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 10 19:30:58 2005

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.