diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 23:26:25 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 23:26:25 +0200 |
commit | c41cad8de5d421cb813e031a301b8121000ed90a (patch) | |
tree | 18a16588eadb10dd0b6c51dcfa1b3abd63cf2991 /bssid.shtml | |
parent | d26dd5c7b96b0102953fbd47c632458bf65e79e7 (diff) |
finally fix regexes for nginx
Diffstat (limited to 'bssid.shtml')
-rw-r--r-- | bssid.shtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bssid.shtml b/bssid.shtml index d00975d..5524d66 100644 --- a/bssid.shtml +++ b/bssid.shtml @@ -3,12 +3,12 @@ <!--#elif expr="$POL = l"--><!--#set var="POLCODED" value="6"--> <!--#elif expr="$POL = r"--><!--#set var="POLCODED" value="2"--> <!--#endif--> -<!--#if expr="$CHAN = /([1-9]|1[0-3])/"--> +<!--#if expr="$CHAN = /^([1-9]|1[0-3])\$/"--> <!--#include file="bssid24.shtml"--> -<!--#elif expr="$CHAN = /(36|40|44|48|52|56|60|64)/"--> +<!--#elif expr="$CHAN = /^(36|40|44|48|52|56|60|64)\$/"--> C<!--#echo var="POLCODED"-->:00:50:00:C0:<!--#echo var="CHAN"--> -<!--#elif expr="$CHAN = /1(00|04|08|12|16|20|24|28|32|36|40)/"--> +<!--#elif expr="$CHAN = /^1(00|04|08|12|16|20|24|28|32|36|40)\$/"--> <!--#set var="CHANLOW" value="$1"--> -C<!--#echo var="POLCODED"-->:00:50:00:C0:<!--#echo var="CHAN"--> +C<!--#echo var="POLCODED"-->:00:50:00:C1:<!--#echo var="CHANLOW"--> <!--#else-->??:??:??:C?:?? <!--#endif--> |