[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdenetwork/kmail
From: Ingo =?iso-8859-15?q?Kl=F6cker?= <kloecker () kde ! org>
Date: 2002-06-30 17:15:40
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 30 June 2002 03:15, Daniel Naber wrote:
> On Saturday 29 June 2002 22:51, Ingo Klöcker wrote:
> > > Okay, for the fun of it:
> > > ^(?:[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z](?:[a-z0-9-]*[a-z0-9])?
> > >)*|[
> > > 0-9]{1,3}(?:\.[0-9]{1,3}){3}|[0-9a-f]{1,4}(?::?:[0-9a-f]{1,4}){1,
> > >7})$ The IPv6 part isn't perfect though, it could match some
> > > invalid IPs AFAICS.
> >
> > You (and Marc) forgot that capital letters are of course also
> > allowed.
>
> But what will the user do if he - for some reason - wants to enter an
> illegal name? How can he understand that he just cannot type it? For
> complex contraints there should be more verbose feedback than "don't
> let the user enter this".
The part of my message which you didn't quote tells you that I relaxed
the constraints so that now the user can enter anything which contains
letters, numbers, hyphens, underscores, dots and doubledots (whatever
they are called in English). I don't think that any feedback is
necessary to tell the user why he can't enter a space or some other
disallowed character.
Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Hzy8GnR+RTDgudgRApkrAKDDvA9eGxRCRWhGL+f9OSD6IU6YPACgjgxy
h5ZNgd8KL/b3ZOmfqwA+sOE=
=hh/M
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic