[asterisk-bugs] [Asterisk 0017366]: [patch] strange extension pattern matching

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 4 18:23:12 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17366 
====================================================================== 
Reported By:                murf
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17366
Category:                   PBX/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.4.38
Asterisk Version:           SVN 
JIRA:                       SWP-1517 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-20 12:57 CDT
Last Modified:              2010-10-04 18:23 CDT
====================================================================== 
Summary:                    [patch] strange extension pattern matching
Description: 
Maybe I'm just hallucinating, but if I goto(mysw-17-3,label)  and have
these extensions defined:

_mysw-17-.
_mysw-1-.
mysw-17-
mysw-17-*
mysw-17-2
mysw-17-1
s

The last match I would expect would be the second item in the list above,
but that's the one that is chosen.


====================================================================== 

---------------------------------------------------------------------- 
 (0127685) svnbot (reporter) - 2010-10-04 18:23
 https://issues.asterisk.org/view.php?id=17366#c127685 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 290255

_U  branches/1.8/
U   branches/1.8/main/pbx.c
U   branches/1.8/pbx/ael/ael-test/ref.ael-ntest10
U   branches/1.8/pbx/ael/ael-test/ref.ael-test1
U   branches/1.8/pbx/ael/ael-test/ref.ael-test19
U   branches/1.8/pbx/ael/ael-test/ref.ael-test2
U   branches/1.8/pbx/ael/ael-test/ref.ael-test3
U   branches/1.8/pbx/ael/ael-test/ref.ael-test4
U   branches/1.8/pbx/ael/ael-test/ref.ael-test5
U   branches/1.8/pbx/ael/ael-test/ref.ael-vtest13
U   branches/1.8/pbx/ael/ael-test/ref.ael-vtest17
U   branches/1.8/res/ael/pval.c

------------------------------------------------------------------------
r290255 | tilghman | 2010-10-04 18:23:11 -0500 (Mon, 04 Oct 2010) | 18
lines

Merged revisions 290254 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290254 | tilghman | 2010-10-04 18:14:59 -0500 (Mon, 04 Oct 2010) | 11
lines
  
  Change new pattern matcher to regard dashes the same as the old pattern
matcher -- as visual candy to be ignored.
  
  Also change the AEL parser to not generate dashes within extensions, as
those
  dashes would be ignored.  Update the AEL tests to match this behavior.
  
  (closes issue https://issues.asterisk.org/view.php?id=17366)
   Reported by: murf
   Patches: 
         20100727__issue17366.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=290255 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-04 18:23 svnbot         Checkin                                      
2010-10-04 18:23 svnbot         Note Added: 0127685                          
======================================================================




More information about the asterisk-bugs mailing list