I want to use $ in module argument
mdounin at mdounin.ru
Wed Jun 11 22:29:14 UTC 2014
On Wed, Jun 11, 2014 at 01:49:34PM +0300, Anatoli Marinov wrote:
> I am working on custom module which uses pcre. It could be configured and
> one from the arguments is a regular expression. How can I use argument with
> $ sign into it. Every time when I try for example use it like "
> my_custom_module '\.mp4$' " I got the error:
> invalid variable name in nginx.conf:62
> In line 62 I have my module configuration.
> I tried to escape $ with \$ and also tried $$ but they both don't work.
More information about the nginx-devel