[Html-widget] OT - Looking for PM to validate a web address

Roland Moriz roland at moriz.de
Wed Feb 28 01:42:55 GMT 2007


Hi Mario,

Mario Minati schrieb:
> Hello @all,
> =

> does anyone know a modul to validate syntactically a webaddress?
> e.g.
> https://www.perl.org - ok
> www.perl.org - ok
> perl.org - ok
> perl - not ok
> www:perl. org - not ok

tried Regexp::Common?

http://search.cpan.org/~abigail/Regexp-Common-2.120/lib/Regexp/Common/URI/h=
ttp.pm

best regards,


Mit freundlichen Gruessen,
Roland Moriz

--
Roland Moriz Softwareentwicklung & Beratung
Hedwig-Dransfeld-Allee 14
80637 Muenchen

Tel:  089 / 216 685 91
Fax:  089 / 216 685 92
Web:  http://www.perl-freelancer.com/
      http://www.moriz.de/
Xing: https://www.xing.com/profile/Roland_MORIZ

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/html-widget/attachments/20070228/e=
e4d0512/signature.pgp


More information about the Html-widget mailing list