shreemaan-abhishek commented on issue #10052:
URL: https://github.com/apache/apisix/issues/10052#issuecomment-1683343444

   ```
   ...
   "match": [
                           {
                               "vars": [
                                   [
                                       "request_uri",
                                       "has",
                                       "/fuwu/1k.txt"
                                   ]
                               ]
                           }
                       ],
   ...
   ```
   
   `has` evaluates if a table (on the left-hand side)`has` the item mentioned 
on the operator's right-hand side.
   
   You can use `~~` expresion to match regex instead. 
https://github.com/api7/lua-resty-expr/blob/main/README.md#comparison-operators


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to