nanog mailing list archives

RE: BGPmon regex


From: Brandon Kim <brandon.kim () brandontek com>
Date: Wed, 21 Dec 2011 12:43:15 -0500


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 () 0x1 net
To: nanog () 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
                                          

Current thread: