]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
I added a sentence to clarify why - and ' ' are ignored in patterns
authorSteve Murphy <murf@digium.com>
Tue, 16 Dec 2008 15:15:58 +0000 (15:15 +0000)
committerSteve Murphy <murf@digium.com>
Tue, 16 Dec 2008 15:15:58 +0000 (15:15 +0000)
as per bug 14076. Leif says he'll put some stuff about it in the
extensions.conf sample, etc.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@164634 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/pbx.c

index 12d396489e3bdca450b1eac2e4e38c7baecaba31..a1a81504605a5d663a6b192c4433940e1df8e300 100644 (file)
@@ -595,7 +595,8 @@ static void pbx_destroy(struct ast_pbx *p)
  * 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