[c-nsp] community-list regexen

MacKinnon, Ian Ian.MacKinnon at thus.net
Fri May 6 10:38:09 EDT 2005


Well in that case I think it gets much more complicated and you have to
break it down into blocks that you can build a regexp for.
1638[5-9] and 1639[0-9] and 164[0-9][0-9][0-9] and ...... Etc

O'Reilly have a good regexp book if that helps




> -----Original Message-----
> From: christian.macnevin at uk.bnpparibas.com 
> [mailto:christian.macnevin at uk.bnpparibas.com] 
> Sent: 06 May 2005 15:32
> To: MacKinnon, Ian
> Cc: cisco-nsp at puck.nether.net
> Subject: RE: [c-nsp] community-list regexen
> 
> 
> Hm. Yeah, the difficult bit is that the ranges are more like 
> 16384 - 16639
> and 16640 - 16895..
> 
> 
> 
> 
> Internet
> Ian.MacKinnon at thus.net - 06/05/2005 15:25
> 
> 
> To:    Christian MACNEVIN, cisco-nsp
> 
> cc:
> 
> 
> Subject:    RE: [c-nsp] community-list regexen
> 
> 
> Well a normal regexp would be something like [12][0-9][0-9]
> Ie 1 or 2 followed by 2 digits
> As to how to apply that to bgp, that's left as an exercise 
> for the reader
> :)
> 
> > -----Original Message-----
> > From: christian.macnevin at uk.bnpparibas.com
> > [mailto:christian.macnevin at uk.bnpparibas.com]
> > Sent: 06 May 2005 15:21
> > To: cisco-nsp at puck.nether.net
> > Subject: [c-nsp] community-list regexen
> >
> >
> > Hi,
> > I want to match against a range of possible community values, like
> > <asn>:100-200 and am feeling a bit thick. What is the exact 
> syntax for
> > this? Is it even possible?
> > Cheers,
> > Christian
> >
> >
> >
> > This message and any attachments (the "message") is
> > intended solely for the addressees and is confidential.
> > If you receive this message in error, please delete it and
> > immediately notify the sender. Any use not in accord with
> > its purpose, any dissemination or disclosure, either whole
> > or partial, is prohibited except formal approval. The internet
> > can not guarantee the integrity of this message.
> > BNP PARIBAS (and its subsidiaries) shall (will) not
> > therefore be liable for the message if modified.
> >
> > **************************************************************
> > ********************************
> >
> > BNP Paribas Private Bank London Branch is authorised
> > by CECEI & AMF and is regulated by the Financial Services
> > Authority for the conduct of its investment business in the
> > United Kingdom.
> >
> > BNP Paribas Securities Services London Branch is authorised
> > by CECEI & AMF and is regulated by the Financial Services
> > Authority for the conduct of its investment business in the
> > United Kingdom.
> >
> > BNP Paribas Fund Services UK Limited is authorised and
> > regulated by the Financial Services Authority.
> >
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
>  >
> 
> 


More information about the cisco-nsp mailing list