>>>>> "Jeff" == Jeff Pinyan <[EMAIL PROTECTED]> writes:
Jeff> if (length($x) and $x =~ /\D/) { fail() }
Simpler...
if ($x =~ /\d/ and $x !~ /\D/) { winner! }
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- Regular Expressions Kyrytow, Stefan
- Re: Regular Expressions Brett W. McCoy
- Re: Regular Expressions Jos Boumans
- Re: Regular Expressions Jeff Pinyan
- Re: Regular Expressions Randal L. Schwartz
- Re: Regular Expression... Jeff Pinyan
- Re: Regular Expressions Jeff Pinyan
- Re: Regular Expressions Timothy Kimball
- regular expressions Salvador Lopez
- Re: regular expressions Akshay Arora
- Re: regular expressions Dan Grossman
- Re: regular expressions Jeff 'japhy/Marillion' Pinyan
- Re: regular expressions Jos I. Boumans
- RE: regular expressions Wagner-David
