[hobbit] PCRE Assistance
Ryan Novosielski
novosirj at umdnj.edu
Fri Mar 26 21:41:50 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel J McDonald wrote:
> On Fri, 2010-03-26 at 16:17 -0400, Ryan Novosielski wrote:
>
>> Here is my example:
>>
>> %(bbdisplay|xymon|katahdin|^netmon-*).umdnj.edu
>>
>
> That matches netmon followed by zero or more dashes. You probably want:
>
> %(bbdisplay|xymon|katahdin|^netmon-.+)\.umdnj\.edu
Indeed I do! Thank you! Did not realize that the */+ modifiers refer to
the thing immediately before them.
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkutHA4ACgkQmb+gadEcsb5MfACgi5/YflKwtyCGwZ4vmmHRmIZd
c24AoMYKOLS9THqEXf2/mVdpf4gFpMXF
=m57N
-----END PGP SIGNATURE-----
More information about the Xymon
mailing list