Re: [j-nsp] Community RegEx

2009-09-04 Thread Richard A Steenbergen
On Fri, Sep 04, 2009 at 01:35:53PM -0400, Eric Van Tol wrote: > A private response (thanks, Chris!) indicates to me that the following two > are actually correct: > > ^1234:((100)|(250)|(375))$ > ^1234:(100|250|375)$ > > My other example "works", but also matches on other patterns such as 999:25

Re: [j-nsp] Community RegEx

2009-09-04 Thread Eric Van Tol
> -Original Message- > From: Richard A Steenbergen [mailto:r...@e-gerbil.net] > Sent: Friday, September 04, 2009 11:26 AM > To: Eric Van Tol > Cc: juniper-nsp@puck.nether.net > Subject: Re: [j-nsp] Community RegEx > > On Fri, Sep 04, 2009 at 07:52:35AM -0400, Eric

Re: [j-nsp] Community RegEx

2009-09-04 Thread Richard A Steenbergen
On Fri, Sep 04, 2009 at 07:52:35AM -0400, Eric Van Tol wrote: > > I would think that the first one is the way to go, but it appears that > both work. Is one a "more righter" way of defining these communities? Thats like asking which of the following two math expressions is "more right": A+B+C

Re: [j-nsp] Community RegEx

2009-09-04 Thread Eric Van Tol
> -Original Message- > From: Paul Stewart [mailto:p...@paulstewart.org] > Sent: Friday, September 04, 2009 8:02 AM > To: Eric Van Tol; juniper-nsp@puck.nether.net > Subject: RE: [j-nsp] Community RegEx > > Probably the real question is what you wish to accomplish with

Re: [j-nsp] Community RegEx

2009-09-04 Thread Paul Stewart
Of Eric Van Tol Sent: September-04-09 7:53 AM To: juniper-nsp@puck.nether.net Subject: [j-nsp] Community RegEx Hi all, I'm having some trouble identifying the proper way to define some communities. I've read this: http://www.juniper.net/techpubs/software/junos/junos94/swconfig-policy/confi

[j-nsp] Community RegEx

2009-09-04 Thread Eric Van Tol
Hi all, I'm having some trouble identifying the proper way to define some communities. I've read this: http://www.juniper.net/techpubs/software/junos/junos94/swconfig-policy/configuring-the-community-attribute-using-unix-regular-expressions.html but still have questions. Let's say I have three