regexp /^$/ don't match empty lines

2005-07-17
2013-04-22
  • > Why not use
    >
    > !$0
    >
    > to match an empty line?

    Because it also matches

    0