summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-08-07 23:26:25 +0200
committerChristian Pointner <equinox@spreadspace.org>2016-08-07 23:26:25 +0200
commitc41cad8de5d421cb813e031a301b8121000ed90a (patch)
tree18a16588eadb10dd0b6c51dcfa1b3abd63cf2991
parentd26dd5c7b96b0102953fbd47c632458bf65e79e7 (diff)
finally fix regexes for nginx
-rw-r--r--bssid.shtml8
-rw-r--r--bssid24.shtml2
2 files changed, 5 insertions, 5 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-->
diff --git a/bssid24.shtml b/bssid24.shtml
index f6bedac..f86a715 100644
--- a/bssid24.shtml
+++ b/bssid24.shtml
@@ -1,3 +1,3 @@
-<!--#if expr="$CHAN = /[1-9]/"-->0<!--#endif--><!--#if expr="$CHAN = 3"-->2<!--#else--><!--#echo var="CHAN"--><!--#endif-->:CA:FF:EE:BA:BE<br/>
+<!--#if expr="$CHAN = /^[1-9]\$/"-->0<!--#endif--><!--#if expr="$CHAN = 3"-->2<!--#else--><!--#echo var="CHAN"--><!--#endif-->:CA:FF:EE:BA:BE<br/>
<em>oder / ali / or</em> <br/>
C<!--#echo var="POLCODED"-->:00:24:00:C0:<!--#if expr="$CHAN = /[1-9]/"-->0<!--#endif--><!--#echo var="CHAN"-->