Olivier
2014-Apr-03 14:40 UTC
[asterisk-users] How best to match hexadecimal values in dialplan pattern matching ?
Hi, Quite often I told myself it would be convenient to have a dedicated letter, such as E, to match [0-9A-Ea-e] in dialplan pattern matching just like X match [0-9] or Z match [1-9]. This happens when I want to match a MAC address in my dialplan. In this case, writing [0-9A-Ea-e] twelve times is not very pleasant. What would you say about that ? What is the best way to match a MAC address with Asterisk 11 and above ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140403/1c07438e/attachment.html>