[nsp] regexp question

David Curran dm at nuvox.net
Tue Apr 6 11:08:09 EDT 2004


I've never used backreferences on a router but I know they can be processor
and memory intensive on regular server hardware.  Have you ever used these
on a production router (other than the one that crashed :-) ?

-david

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net]On Behalf Of David Flynn
Sent: Tuesday, April 06, 2004 10:53 AM
To: cisco-nsp at puck.nether.net
Subject: Re: [nsp] regexp question


> giving: ^([^_]_)\1*(([^_]_)\3*)?$

Sigh, not my day - that'll work fine for single byte ASNs, but to be
of anyuse, change it to the following:

^([^_]+_)\1*(([^_]+_)\3*)?$

..df
_______________________________________________
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