[c-nsp] cisco regex puzzle of the day
Job Snijders
job at instituut.net
Tue Mar 10 15:29:33 EDT 2015
Hi all,
On Juniper you can match in a single regular expression, any and all
downstream customers of a peer, but not the peer itself (even prepended)
with the following:
"^64500+ [^64500]"
This junos beauty will match for example: "64500 64500 123 123 444", but
not "64500 64500" or "64500".
Can any of you come up with a single line regex that works on IOS or XR
(ios-regex) to mimick the above described behaviour?
Kind regards,
Job
More information about the cisco-nsp
mailing list