[asterisk-users] Can Asterisk match a literal "*" in extensions.conf

Anthony Francis anthonyf at rockynet.com
Fri Sep 14 21:43:26 CDT 2007


Jared Smith wrote:
> On Fri, 2007-09-14 at 10:51 -0600, Anthony Francis wrote:
>   
>> . matches any number of the preceding character, change it to _X.*X.
>>     
>
> That still won't help.  Once the Asterisk pattern matching parser sees a
> period in the pattern, it ignores anything after it.  (I'm not exactly
> happy about that, but that's the way it is.)  In short, Asterisk doesn't
> currently have a good way of handling this situation.  Hopefully
> somebody infinitely smarter than I am will take pity on our plight and
> give us a some more advanced pattern-matching tools.  (Hint, hint)
>
>   
Like PCRE maybe hmm.



More information about the asterisk-users mailing list