ResourceKey validation error
Tony Linde
ael at star.le.ac.uk
Thu Nov 20 10:29:10 PST 2003
> Since I suggested it, I vote for it :)
Me too, three? four? Whatever!
> Replacing:
> '[\w\d\-_\.!~\*'\(\)]+(/[\w\d\-_\.!~\*'\(\)])*'
> with:
> '[\w\d\-_\.!~\*'\(\)]+(/[\w\d\-_\.!~\*'\(\)]+)*'
Obvious when you look at :)
Well done Sebastien.
Cheers,
Tony.
> -----Original Message-----
> From: owner-registry at eso.org [mailto:owner-registry at eso.org]
> On Behalf Of Sebastien Derriere
> Sent: 20 November 2003 17:57
> To: Ray Plante
> Cc: registry at ivoa.net
> Subject: Re: ResourceKey validation error
>
>
> Ray Plante wrote:
> >
> > I like ivo_vor, and we do need to agree.
> >
> Since I suggested it, I vote for it :)
>
> I think I fixed the problem for ResourceKey. The regExp was
> malformed. Just a '+' missing, which only allowed one-char
> long words after the first / (like 'word/x/y/z', but not
> 'word/ab/xyz')
>
> Replacing:
> '[\w\d\-_\.!~\*'\(\)]+(/[\w\d\-_\.!~\*'\(\)])*'
> with:
> '[\w\d\-_\.!~\*'\(\)]+(/[\w\d\-_\.!~\*'\(\)]+)*'
> should do it.
>
> Sebastien.
>
> --
> _______
> / ~ /, Sebastien Derriere mailto:derriere at astro.u-strasbg.fr
> / ~~~~ // Observatoire de Strasbourg Phone +33 (0) 390 242 444
> /______// 11, rue de l'universite Telefax +33 (0) 390 242 417
> (______(/ F-67000 Strasbourg France
>
More information about the registry
mailing list