[Asterisk-Users] Re: Re: Wrong usage of [] in the extension?
Steven
asterisk at tescogroup.com
Tue Nov 29 06:23:11 MST 2005
I do not know if asterisk uses standard regexp, but in regexp you would use:
[(201)(202)(203)(205)(206)]
This would match any of the groups () of numbers.
--
--
Steven
May you have the peace and freedom that come from abandoning all hope of
having a better past.
--- - --- - - - - - - - -- - - - --- - ------ -
- --- - - -- - - - -- - - -
"Matt Riddell" <matt.riddell at sineapps.com> wrote in message
news:438BDBC5.1060307 at sineapps.com...
> The idea is that any number inside the [] is one checked for i.e.:
>
> _123[456]78
>
> will match:
>
> 123478
> 123578
> 123678
>
> --
> Cheers,
>
> Matt Riddell
> _______________________________________________
>
> http://www.sineapps.com/news.php (Daily Asterisk News - html)
> http://freevoip.gedameurope.com (Free Asterisk Voip Community)
> http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list