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) >
Asterisk's pattern matching is NOT a regex. . means match 1 or more character. It has nothing to do with the preceding characters and must ALWAYS be the last character in a pattern match. _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users