Hello,<div><br></div><div>Just realized the " and the ^ is probably why it is not matching -- total oversight. Thanks guys!</div><div><br></div><div>Sincerely,</div><div>Brandon Armstead<br><br><div class="gmail_quote">
On Thu, Sep 17, 2009 at 4:55 PM, Brandon Armstead <span dir="ltr"><<a href="mailto:brandon@cryy.com">brandon@cryy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<div><br></div><div> I have the following pcre regex method call: pcre_match("$hdr(From)", "(?i)^(restricted|anonymous|private|unknown|unavailable)") to match calls that are sent without a proper ANI in a case-insensitive manner, however it does not seem to return true for the following example From Header:</div>
<div><br></div><div>From Header: "Unavailable" <<a href="mailto:sip%3ARestricted@192.168.47.68" target="_blank">sip:Restricted@192.168.47.68</a>>;tag=gK07327e23</div><div><br></div><div>Any thoughts / input is appreciated, and as always thank you for your help!</div>
<div><br></div><div>Sincerely,</div><div>Brandon Armstead</div><font color="#888888"><div><br></div><div><br></div>
</font></blockquote></div><br></div>