Xymon Mailing List Archive search

Some PCRE assistance

list Galen Johnson
Mon, 15 Jan 2007 17:20:23 -0500
Message-Id: <user-7ddf3a51891e@xymon.invalid>

Rich Smrcina wrote:
I've checked the PCRE tutorial and several other sites and I can not find a good match to what I'm trying to do.  I've also run several iterations through pcretest with no joy.

I have a list of users (actually virtual machine names) with the heading 'UserID'.  I would like to set up a regex to match any of them, except for the heading.  Basically, to count the machines, but ignore the heading line.

I've tried variations of "(!Userid|.*)" with no luck.

Thanks.
Is this within a script or a hobbit config file?

=G=