diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-16 15:42:52 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-16 15:42:52 +0000 |
commit | b2b7577aed64c53c0f6c3ed9444afc3b06bd88c7 (patch) | |
tree | 04ea1fafc214573f8fcea3d472eb4ae3d3a467ab /main/pbx.c | |
parent | 729dc58b13219dfea0845eca0f3ece8f6ac7a39c (diff) |
Merged revisions 164648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r164648 | murf | 2008-12-16 08:31:54 -0700 (Tue, 16 Dec 2008) | 13 lines
Merged revisions 164634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r164634 | murf | 2008-12-16 08:15:58 -0700 (Tue, 16 Dec 2008) | 5 lines
I added a sentence to clarify why - and ' ' are ignored in patterns
as per bug 14076. Leif says he'll put some stuff about it in the
extensions.conf sample, etc.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@164658 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index f83641938..ce35e56ef 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1630,7 +1630,8 @@ static void destroy_pattern_tree(struct match_char *pattern_tree) /* pattern tre * Special characters used in patterns: * '_' underscore is the leading character of a pattern. * In other position it is treated as a regular char. - * ' ' '-' space and '-' are separator and ignored. + * ' ' '-' space and '-' are separator and ignored. Why? so + * patterns like NXX-XXX-XXXX or NXX XXX XXXX will work. * . one or more of any character. Only allowed at the end of * a pattern. * ! zero or more of anything. Also impacts the result of CANMATCH |