What's in $0 on something like this?<div>expresion="^0(\d+)$"</div><div><br></div><div>Just curious. This is probably a minor bug, so open a jira w/ low priority.</div><div>-MC<br><br><div class="gmail_quote">
On Sat, Jun 11, 2011 at 12:12 PM, Joseph L. Casale <span dir="ltr"><<a href="mailto:jcasale@activenetwerx.com">jcasale@activenetwerx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I wrote up a quick dialplan and intended on using $0 for the whole number, so my regex was:<br>
<condition field="destination_number" expression="^0\d+$"><br>
but $0 was empty until I rewrote it:<br>
<condition field="destination_number" expression="^(0\d+)$"><br>
<br>
Is this expected, I assumed not and I was not looking for $1 etc I figured $0 to<br>
always get populated.<br>
<br>
Thanks,<br>
jlc<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>