On Mar 23, Ronald J Kimball said: >> m{ >> \A # beginning of string >> (?: >> [^\W\d] # any non-digit >> \w+ # followed by any a-zA-Z0-9_ ("alphanumberscore") > ^^^ > >I believe that should be \w*. A bareword may be one character long. Yes, of course. My mistake. -- MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve japhy@pobox.com http://www.pobox.com/~japhy/ http://pinyaj.stu.rpi.edu/ PerlMonth - An Online Perl Magazine http://www.perlmonth.com/ The Perl Archive - Articles, Forums, etc. http://www.perlarchive.com/ ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe