28 Jan
2020
28 Jan
'20
3:31 p.m.
On Mon, Jan 27, 2020 at 07:05:33PM -0500, Robert Blayzor wrote:
Does pattern matching work with wildcards like below? I tried searching the docs for pattern/wildcard/regex but could not find a definitive answer. It looks like this works with "interface" wildcards....
if (proto = "global_null*") then { bgp_community.add ((MYAS, 888)); } else {
It works if you use match operator ~. E.g.: if proto ~ "global_null*" then ... -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."