On 11/05/12 14:39:33, Laurie Brown wrote:
On 11/05/2012 09:49, Barry Samuels wrote:
I have to admit that apart from the simplest expressions I don't understand regex.
I'm crap on that as well...
I want to set up a logcheck ignore expression to ignore the following:
kernel: [220359.596744] [drm] nouveau 0000:06:00.0: Setting dpms mode
0 on
tmds encoder (output 2)
The 220359.596744 number varies and so does the single mode digit, 0
in
this instance, but the rest doesn't change.
I have tried by copying some expressions parrot fashion but can't get
it
to work.
Any help would be appreciated.
Here is how I would deal with that:
kernel: [.* Setting dpms mode
Cheers, Laurie.
Laurie Brown laurie@brownowl.com
Thanks to Mark for having a try at the expression but it didn't work. Laurie's simple version appears to have done the trick.
Thanks to you both.