diff --git a/main/pbx.c b/main/pbx.c index f836419387..ce35e56eff 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