you probably are searching for RFC 2705 ?<br><br>That would be great if Asterisk could support that kind of digitmaps/patterns.<br><br><br><div><span class="gmail_quote">On 8/1/07, <b class="gmail_sendername">Jared Smith</b>
<<a href="mailto:jsmith@digium.com">jsmith@digium.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, 2007-08-01 at 11:44 -0500, John Lange wrote:
<br>> Searching the archives I can see that better pattern matching has been<br>> discussed a number of times.<br>><br>> There have even been patches submitted and discussions about how there<br>> are regexp libraries available under BSD style license that could be
<br>> incorporated into Asterisk.<br>><br>> Yet, nothing ever makes it into the released code.<br><br>Yes, I've been one of the people who have been more vocal than most<br>about this. I really think it's a good idea to be a little more
<br>flexible in our pattern matching ability. That being said, I can see<br>where the Asterisk developers are coming from too -- they're worried<br>that this will severely impact the time it takes for Asterisk to do<br>
pattern matching. The current pattern matching syntax works fairly well<br>for numeric extensions, but is pretty difficult work with if you trying<br>to do pattern matching on names or alphanumeric extensions. For<br>example, try coming up with a pattern match that'll match the name Nancy
<br>(either upper or lower case) followed by two digits. It becomes even<br>more difficult when dealing with letters that fall outside the English<br>alphabet.<br><br>While I personally think regular expressions are a pretty cool idea, I
<br>know not everyone is sold on them. If I remember correctly, there's<br>even an RFC with a very complete pattern matching syntax defined (which<br>I can't find right now, of course).<br><br>Hopefully, one of the Asterisk developers will stumble across this post
<br>and take pity on us and help us out!<br><br><br>--<br>Jared Smith<br>Community Relations Manager<br>Digium, Inc.<br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Clod Patry