Michael,<br><br>Also note the error message reprints the expression without the escape.<br><br>Bob<br><br><div class="gmail_quote">On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">2009/3/27 Robert Clayton <<a href="mailto:rjcajax@gmail.com">rjcajax@gmail.com</a>>:<br>
</div><div class="im">> Michael,<br>
><br>
> I liked "(\*|\d{6})" also but when entered in:<br>
><br>
> agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#',<br>
> 'c:/DictationProject/audio/Validating.wav', '', "(\*|\d{6})");<br>
><br>
> Creates the error:<br>
><br>
> 2009-03-27 14:05:36 [ERR] switch_regex.c:184 switch_regex_match_partial()<br>
> Regula<br>
> r Expression Error expression[(*|d{6})] error[nothing to repeat] location[1]<br>
><br>
> The escape characters seem to disappear and FS attempts to use the, /* an<br>
> asterisk character, as * a metecharacter.<br>
<br>
</div>for kicks try it with only one or the other, that is, with only<br>
(\d{6}) or with only (\*) and see if you get that error. I'm curious<br>
where it's bombing out. I think that test will help us figure out what<br>
is going on.<br>
<div><div></div><div class="h5">-MC<br>
<br>
_______________________________________________<br>
Freeswitch-dev mailing list<br>
<a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>