|
Majordomo-Users (August 1995) |
[ Mark Biango writes: ]
>
> This line in perl (if (/^\s*$/) {) translates into if zero or more blank
> lines {, not if one or more.... One or more would be if (/^\s+$)...
Nope, it's zero or more blanks between the beginning and end of the line
(multi-line matching isn't enabled). That code only operates on one line
at a time.
--
Dave Wolfe *Not a spokesman for Motorola* (512) 891-3246
Motorola MMTG 6501 Wm. Cannon Dr. W. OE112 Austin TX 78735-8598
Follow-Ups:
References:
|