[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] regexps for namespace
From: |
Jean Helou |
Subject: |
[Gnu-arch-users] regexps for namespace |
Date: |
Mon, 29 Mar 2004 23:26:38 +0200 |
User-agent: |
Mozilla Thunderbird 0.5 (X11/20040306) |
I finally found some time to start hacking namespace.(c|h) to make it
use regexps.
My first patch changes the over_archive_name so it uses a regexp defined
in namespace.h to validate archive names. The regexp is a modified
version of what was proposed by Jan Hudec, it allows for weird but rfc
valid email addresses , however it still requires an alphanum at the
start of both strings on each side of the @, thus imposing a (smaller
but not null) restriction on valid addresses. This should prevent bug 72
from hitting too hard for the moment.
Next step will convert over_base_name, over_version and over_patch_level
to use regular expressions too.
Then I will try and see which files also do namespace validation of
their own and modify these so they use the namespace.(h|c) functions.
This should also correct bug 72 and make finetuning namespace easier.
You may get this patch here for review (this is my first patch against
the tla tree):
address@hidden/tla--devel--1.3--patch-1
address@hidden
http://concept-in.org/~jean/archives/address@hidden
Cheers,
Jean
signature.asc
Description: OpenPGP digital signature
- [Gnu-arch-users] regexps for namespace,
Jean Helou <=