Hi, I think you should escape that period and dash as well.
'^[a-zA-Z0-9-_. \[\]]+$'
'^[a-zA-Z0-9\-_\. \[\]]+$'
or may be simpler:
'^[\w\d_\-\. \[\]]+$'
_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs