Comments (4)
if you want to use the regex, you can take a look at this way:
local radix = require("resty.radixtree")
local rx = radix.new({
{
paths = {"/bb*"},
vars = {
{"host", "~~", "xxx\\w+.xxx.com"}
}
}
})
from lua-resty-radixtree.
Maybe we could add this tip to our docs? @membphis @kongjun01
from lua-resty-radixtree.
Maybe we could add this tip to our docs? @membphis @kongjun01
@kongjun01 would you like to submit a PR?
from lua-resty-radixtree.
My pleasure.
from lua-resty-radixtree.
Related Issues (20)
- ci did not run
- the end * of the path dont matchs some cases HOT 2
- 'Unauthenticated git protocol on port 9418 is no longer supported' while installing via luarocks HOT 2
- unexpected matching result HOT 14
- update the luarocks to version 3.8 HOT 1
- Q: what's the math rule ? HOT 1
- Q: `radix_tree_prev` iterates through all nodes with a lexicographic order less than `path` HOT 5
- How to match host with wildcard name HOT 1
- How to delete a node of a radixtree? HOT 1
- Q:if use the Parameters in path , how to get path param in handler HOT 2
- Reporting a vulnerability
- radixtree.new cost nearly 120s when uri_routes num is 10w
- bug: support `ip:port` in host HOT 2
- CI: Master branch CI failed HOT 1
- 能否给个中文的readme
- request help: install: 无法获取"librestyradixtree.so" 的文件状态(stat): 没有那个文件或目录 HOT 1
- release new version HOT 1
- radixtree free memory fail, nginx worker exit HOT 6
- release a new version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-resty-radixtree.