[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] PCRE Assistance
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] PCRE Assistance
- From: Asif Iqbal <vadud3 (at) gmail.com>
- Date: Fri, 26 Mar 2010 16:39:07 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:content-type :content-transfer-encoding; bh=1yPEW/5mMdzP4/OB9qFzT+1W1ni58Sa1i5fQ08kfF4Y=; b=ca10WCO2FbxgPnQHC7/qBccVCVKBusEODccmQRhWPwDD8HJrgsqY/98oTkkRDrM+ij daYrg9C/gW82JETSDqPBGIEKpDVBLD+2fXuBJZ/JAe5gEYqJwMlZcr0fKhSvF+d5MaFe xfOWIoFPWnmTrDeQges62w1b1r68avR/pSZt0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=KqipGfPQA995x25PkwibvVvMe90bk7Dz4MwCDKfmvZ14FNhnupKH2tWGbVuiRLzf6q cB/4QJL9wwnmcQkhQ7wI7gM9v2LYHx7DaNKocYapxnpKc9tHuZxGr4OPdS3fDssuNWtT /udUuVRqtLu/CvLm+Sk+FzWJEhOMRBik4z4EY=
- References: <4BAD166C.1040308 (at) umdnj.edu>
On Fri, Mar 26, 2010 at 4:17 PM, Ryan Novosielski <novosirj (at) umdnj.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm feeling rather dopey at not being able to figure this out, but bear
> with me.
>
> I'm trying to define a regex that will match, among other things, a line
> that begins with: netmon- and any number of characters that follow it,
> and then ends with my domain name. The two I need it to match right now
> are: "netmon-int.umdnj.edu" and "netmon-ext.umdnj.edu" but there may be
> others going forward.
this should catch it
%netmon-.*
>
> Here is my example:
>
> %(bbdisplay|xymon|katahdin|^netmon-*).umdnj.edu
>
> I was suspicious of the ^, so I tried removing it -- no change. So far
> I've tried this list of things:
>
> %(bbdisplay|xymon|katahdin|netmon-*).umdnj.edu
> %(bbdisplay|xymon|katahdin|^netmon\-*).umdnj.edu
> %(bbdisplay|xymon|katahdin|netmon\-*).umdnj.edu
>
> ...maybe one or two others. When I try either of the two hostnames I'm
> trying to match with pcretest, I get "No match". Can anyone point me in
> the right direction? It's surely something simple.
>
> - --
> ---- _ _ _ _ ___ _ _ _
> |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
>
> iEYEARECAAYFAkutFmsACgkQmb+gadEcsb5ljQCfeHH215LC1dLo3guwlJkPzp4H
> 6MIAnRILcRuLfvoAsNY5/5uBLNM+QkEH
> =eMzo
> -----END PGP SIGNATURE-----
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?