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">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</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 &lt;<a href="mailto:rjcajax@gmail.com">rjcajax@gmail.com</a>&gt;:<br>

</div><div class="im">&gt; Michael,<br>
&gt;<br>
&gt; I liked &quot;(\*|\d{6})&quot; also but when entered in:<br>
&gt;<br>
&gt; agent_id = session:playAndGetDigits(1, 3, 2, 10000,&#39;#&#39;,<br>
&gt; &#39;c:/DictationProject/audio/Validating.wav&#39;, &#39;&#39;, &quot;(\*|\d{6})&quot;);<br>
&gt;<br>
&gt; Creates the error:<br>
&gt;<br>
&gt; 2009-03-27 14:05:36 [ERR] switch_regex.c:184 switch_regex_match_partial()<br>
&gt; Regula<br>
&gt; r Expression Error expression[(*|d{6})] error[nothing to repeat] location[1]<br>
&gt;<br>
&gt; The escape characters seem to disappear and FS attempts to use the, /* an<br>
&gt; 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&#39;m curious<br>
where it&#39;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>