From b90153a5ca116bd69c03e4a6d4b9c6cc6c3b8d00 Mon Sep 17 00:00:00 2001 From: ljf Date: Sun, 24 Jun 2018 20:44:28 +0200 Subject: [PATCH] [enh] Add comment about lua pattern deprecated --- access.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/access.lua b/access.lua index cd32e0b..b2e510b 100644 --- a/access.lua +++ b/access.lua @@ -188,6 +188,8 @@ end -- If the URL matches one of the `redirected_urls` in the configuration file, -- just redirect to the target URL/URI -- +-- A match function to support PCRE and lua pattern +-- lua pattern will be deprecated in YunoHost function match(s, regex) if rex.match(s, regex) or string.match(s,regex) then return true