Welcome! Log In Create A New Profile

Advanced

I want to use $ in module argument

Anatoli Marinov
June 11, 2014 06:50AM
Hello,
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.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

I want to use $ in module argument

Anatoli Marinov 683 June 11, 2014 06:50AM

Re: I want to use $ in module argument

Maxim Dounin 303 June 11, 2014 06:30PM

Re: I want to use $ in module argument

Anatoli Marinov 344 June 12, 2014 04:46AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready