[Freeswitch-users] RegEx Help

Stephen Crosby stevecrozz at gmail.com
Mon Nov 9 13:15:56 PST 2009


Dave,

I think extensions are processed in order although I can't quickly find any
documentation that says this, why don't you try it and see, it would take
only a moment to find out for sure.

--Stephen

On Mon, Nov 9, 2009 at 1:03 PM, Frank Carmickle <frank at carmickle.com> wrote:

> On Mon, Nov 09, Michael Collins wrote:
> > On Mon, Nov 9, 2009 at 12:22 PM, Dave Stevenson
> > <stevendt at primrosebank.net>wrote:
> >
> > >  I **think** that the following will match any three character strings
> > > from 1xx to 399
> > >
> > > I want to exclude 100 though, can anyone help me with the required
> RegEx
> > > please ?
> > >
> > >
> > > ^([1-3][0-9][0-9])$
> > >
> > > I could (I think) do
> > >
> > > ^([1-3][1-9][0-9]|[2-3][0-9][0-9])$
>
> You mean
>
> (^1[0-9][1-9]$|^[2-3]\d\d$)
>
> --FC
>
> _______________________________________________
> 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/20091109/d85d1346/attachment-0002.html 


More information about the FreeSWITCH-users mailing list