Michael, Good start! We are getting warmer. Where "(\\*|\\d{6})" will not match either * or 123456 or anything I can think of. "\\*|\\d{6}" does match * and 123456 and does not match 1234 So far so good. BUT, if an asterisk(s) are entered in a combination with numbers anything goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. Bob On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins <msc@freeswitch.org> wrote:
2009/3/27 Robert Clayton <rjcajax@gmail.com>:
Michael,
Also note the error message reprints the expression without the escape.
Bob
On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins <msc@freeswitch.org> wrote:
That just hit me. Try "\\*" instead of "\*" to see if maybe the backslash is getting dropped off between Lua and FreeSWITCH.
-MC
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org