[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BGPmon regex
- Subject: BGPmon regex
- From: brandon.kim at brandontek.com (Brandon Kim)
- Date: Wed, 21 Dec 2011 12:43:15 -0500
- In-reply-to: <CAOMUSPbL2stCYCTRVutOWsJJbvKm=1drnAecTMudNCSK7TSq2A@mail.gmail.com>
- References: <CAOMUSPbL2stCYCTRVutOWsJJbvKm=1drnAecTMudNCSK7TSq2A@mail.gmail.com>
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
- References:
- BGPmon regex
- From: cjp at 0x1.net (Christopher J. Pilkington)