BGPmon regex
Brandon Kim
brandon.kim at brandontek.com
Wed Dec 21 17:43:15 UTC 2011
I'm not familiar with BGPmon but your symptoms sounds like typical programming issue.
The '\' is stripped probably due to a "Stripslashes" function in the code. So by doing double '\\' you kinda
trick the code into only doing the first one.
I don't really know of any way around this.
> Date: Wed, 21 Dec 2011 12:06:14 -0500
> Subject: BGPmon regex
> From: cjp at 0x1.net
> To: nanog at nanog.org
>
> I'm trying to edit my prefixes' AS path regex in BGPmon, and when I add a
> '\s' in the Regular expression field, upon save, the '\' is stripped.
>
> Is this expected behavior?
>
> The workaround is to insert a '\\s' instead, but one needs to remember to
> do this on every edit, and I tend to forget which results in panicking the
> others on our team with false positives.
>
> -cjp
More information about the NANOG
mailing list