<br><br><div class="gmail_quote">On Tue, Jun 1, 2010 at 7:57 PM, Ron McLeod <span dir="ltr"><<a href="mailto:ron.freeswitch@mcleodnet.com">ron.freeswitch@mcleodnet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Is [32|48|54|55|65] correct? Shouldn’t
it be (32|48|54|55|65) instead?</span></font></p><div class="im">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">^\+?1?(0[0-1]+)?((32|48|54|55|65)\d+)\;?(phone-context=)?\+?(\d+)?$</span></font></p></div></div>
</div></blockquote><div>Also, you really don't need the dash in [0-1], just do [01] which means "match a 0 or a 1"<br>-MC<br></div></div><br>