Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试匹配 Nancy 模块中的所有路由。Sinatra 使用 splat 参数,例如
get '/download/*.*' do # matches /download/path/to/file.xml params[:splat] # => ["path/to/file", "xml"] end
这在南希有吗?
这在文档中有所介绍 - 看看贪心节点:
https://github.com/NancyFx/Nancy/wiki/Defining-routes