replace-filter-nginx-module icon indicating copy to clipboard operation
replace-filter-nginx-module copied to clipboard

Using nginx variables in the regular expression

Open nonhex opened this issue 12 years ago • 3 comments

I'm using nginx for many projects, there is a possibility to add the use of nginx variables in the query, for example: replace_filter /$project/ /, - or: replace_filter "/$project/" /

nonhex avatar Apr 19 '13 09:04 nonhex

Nginx variables are not supported (yet) in the pattern arguments. And to make this feature really useful, we'll have to implement an LRU-based compiled regex cache for it as well, because regex compilation is expensive.

Patches welcome :)

agentzh avatar Apr 19 '13 18:04 agentzh

hey, is there any update on this?

bmwant avatar May 11 '22 10:05 bmwant