$ 0 0 I sometimes want to match whitespace but not newline.So far I've been resorting to [ \t]. Is there a less awkward way?