[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: how to validate if a QString contains a FQNH?
From:       Richard Garand <richard () garandnet ! net>
Date:       2002-08-19 12:34:24
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On August 19, 2002 12:34 am, Rolf C. R. wrote:
> On Sunday 18 August 2002 22:49, Richard Garand wrote:
> > Oops, made a mistake.. it should be "^(\\w{1,256}\\.)+([a-z]{2,6})$"
>
> this will still not work with domains like 'www.t-online.de', because
> '-' is not a member of '\w'.

In that case you could change \w to [[:word:]-], but that gives a basic idea 
of how to allow multiple subdomains.
- -- 
Richard Garand   - r i c h a r d @ g a r a n d n e t . n e t
ICQ: 12190132 - http://www.garandnet.net
Q: How many surrealists does it take to screw in a lightbulb?
A: Fish
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YOXUjuZKnjxs0fMRAvZMAJ4uEbSfxtpItsIgoMAYo9WHmijGOwCfVra3
sUyo1cIa9ctr5B3kLCe7L3A=
=3p0T
-----END PGP SIGNATURE-----


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic