[asterisk-dev] new priority of pattern matching in 1.4. Does it makes sense?
John Lange
john.lange at open-it.ca
Thu Feb 21 11:05:51 CST 2008
On Thu, 2008-02-21 at 14:48 +0000, Tony Mountifield wrote:
> I think include sections are searched in the order they are specified,
> so put the class-specific rules into their own context for each class,
> and include that context after the more specific ones.
Thanks for the response Tony. Your suggestion is cleaner and probably
workable.
The only problem I potentially see is it assumes that the various
"priorities" or matches can always be group together in contexts and
then included in order of priority. There are probably situations where
that wouldn't work.
And again, I come back to my original point which is, sure, maybe there
is a way that you can work around these problems created by this new
priority scheme, but why do we have this new scheme in the first place?!
There is no practical application of it. Someone please cite an example
of when you would EVER want pattern matching to work that way.
John
More information about the asterisk-dev
mailing list