[asterisk-dev] New wildcards for pattern matching

Tilghman Lesher tlesher at digium.com
Thu Feb 25 12:13:52 CST 2010


On Thursday 25 February 2010 12:05:53 Steve Murphy wrote:
> On Thu, Feb 25, 2010 at 9:31 AM, Nick Lewis 
<Nick.Lewis at atltelecom.com>wrote:
> > >Let's leave out ?, too
> >
> > That's a shame - I was hoping to use it to indicate exactly one ascii
> > char - oh and also an 'A' wildcard for one alphanumeric char!
>
> A would seem more for just Alphabetic chars, wouldn't it? But who the heck
> would just want an
> alpha and exclude a number also? So A standing for alpha-num is a good
> choice also.

No, it's not.  A, B, C, and D are legitimate DTMF characters, just like 0-9,
*, and #.  They should not be used as pattern match characters.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list