Regex probs ...

dave selby dave6502 at googlemail.com
Sat Jun 7 21:38:03 UTC 2008


Hi All,

My regex is hopeless ... I am trying to match

'0:00 motion'

and it just is not having it ...

echo '7882 pts/1    Sl+    0:00 motion' | grep -e
'[:digit;]:[:digit:][:digit:].motion$'

can anyone tell me where I am going wrong ?

Cheers

Dave


-- 

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




More information about the ubuntu-users mailing list