On Fri, Mar 03, 2000 at 10:34:58PM -0600, Brad Appleton wrote:
> Then maybe I should just look for tabs and spaces a la /^[ \t]+$/ and
> let all other newline-ish things go.

You could also do: /^[^\S\n\r]+$/ or /^[^\s\n\r]{1,2}$/ to be a bit
more strict.  /^[\012\015]{1,2}$/ is usually what I do to look for a
generic emply blank line.  Depends on how strict you want to be, I guess.
Any of them will work.  Pick one and go with it.

-- 

Michael G Schwern      http://www.pobox.com/~schwern/      [EMAIL PROTECTED]
Plus I remember being impressed with Ada because you could write an
 infinite loop without a faked up condition.  The idea being that in Ada
 the typical infinite loop would be normally be terminated by detonation.
         -- Larry Wall in <[EMAIL PROTECTED]>

Reply via email to