<div dir="ltr"><div><div>Thanks Maxim!<br></div>At the moment I am using @ instead of $ and internally in my module I replace it back.<br></div>Its a different kind of workaround :)<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Jun 12, 2014 at 1:29 AM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<div><div class="h5"><br>
On Wed, Jun 11, 2014 at 01:49:34PM +0300, Anatoli Marinov wrote:<br>
<br>
> Hello,<br>
> I am working on custom module which uses pcre. It could be configured and<br>
> one from the arguments is a regular expression. How can I use argument with<br>
> $ sign into it. Every time when I try for example use it like "<br>
> my_custom_module '\.mp4$' " I got the error:<br>
><br>
> invalid variable name in nginx.conf:62<br>
><br>
> In line 62 I have my module configuration.<br>
> I tried to escape $ with \$ and also tried $$ but they both don't work.<br>
<br>
</div></div><a href="http://mailman.nginx.org/pipermail/nginx/2011-November/030406.html" target="_blank">http://mailman.nginx.org/pipermail/nginx/2011-November/030406.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
<br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</font></span></blockquote></div><br></div>