[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: [PATCH] my-project-id
From: |
Stefan Monnier |
Subject: |
[Gnu-arch-users] Re: [PATCH] my-project-id |
Date: |
22 Apr 2004 12:06:50 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> a fully qualified version name regexp set
> a fully qualified branch name regexp set
> a fully qualified category name regexp set
> an archive name regexp set
> an unqualified version name regexp set
> an unqualified branch name regexp set
> an unqualified category name regexp set
Isn't it overengineered a bit?
Why not just set a regexp that will be matched against the fully qualified
version name?
In order to add a notion of priority, you can either keep all the
REGEXP<->ID pairs in an ordered list and let the user change the ordering,
or you could use non-anchored matches and sort them by size (which will give
you the ordering between the first 4 and between the last 3 of your 7 cases)
and by starting-position (to distinguish the put the first 4 cases before
the last 7).
Stefan
Re: [Gnu-arch-users] [PATCH] my-project-id, Russell, 2004/04/22
Re: [Gnu-arch-users] [PATCH] my-project-id, Russell, 2004/04/24