[Freeswitch-users] regex groups
Michael Collins
msc at freeswitch.org
Tue Jun 14 01:04:29 MSD 2011
What's in $0 on something like this?
expresion="^0(\d+)$"
Just curious. This is probably a minor bug, so open a jira w/ low priority.
-MC
On Sat, Jun 11, 2011 at 12:12 PM, Joseph L. Casale <
jcasale at activenetwerx.com> wrote:
> I wrote up a quick dialplan and intended on using $0 for the whole number,
> so my regex was:
> <condition field="destination_number" expression="^0\d+$">
> but $0 was empty until I rewrote it:
> <condition field="destination_number" expression="^(0\d+)$">
>
> Is this expected, I assumed not and I was not looking for $1 etc I figured
> $0 to
> always get populated.
>
> Thanks,
> jlc
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110613/ee34137c/attachment.html
More information about the FreeSWITCH-users
mailing list