ResourceKey validation error

Sebastien Derriere derriere at newb6.u-strasbg.fr
Thu Nov 20 09:56:57 PST 2003


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