yaoweibin / ngx_http_substitutions_filter_module

a filter module which can do both regular expression and fixed string substitutions for nginx
607 stars 213 forks source link

negative lookahead? #35

Closed francoisp closed 4 years ago

francoisp commented 4 years ago

hello, I cant seem to use a negative lookahead regex. I that suported by subs_filter?

subs_filter "str^(?!.*(red|green|blue))" "relacementstr" gir;

EDIT: it is, my bad regex syntax error. TIA, F