<p dir="ltr">Yes. <br>
<a href="http://www.opensips.org/Documentation/Script-Statements">http://www.opensips.org/Documentation/Script-Statements</a><br>
</p>
<div class="gmail_quote">On Apr 15, 2015 10:30 PM, "Terrance Devor" <<a href="mailto:ter.devor@gmail.com">ter.devor@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Everyone,<div><br></div><div>Is it possible to do regex in conditional statements (ie, if....).</div><div>What I am trying to do is something like:</div><div><br></div><div>if($si=~"192\.168\.1\.*")</div><div><br></div><div>To get all internal IP address. Is this possible?</div><div><br></div><div>Terrance</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>