Sigh, I shouldn't code and talk simultaneously.

Okay, given that, couldn't you have used:

\^\d+\s+\w+

^\^\d+\s*\w+

^ anchors to the front of the line

\^ escapes the caret
\d+ matches one or more digits [0-9]

\s* matches zero or more whitespace

\w+ matches one or more word characters [0-9A-Za-z_]

-a


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to