[asterisk-bugs] [JIRA] (ASTERISK-19371) Incorrect matching with new pattern match engine enabled

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Sep 12 15:58:01 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-19371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232253#comment-232253 ] 

Matt Jordan commented on ASTERISK-19371:
----------------------------------------

[~wdoekes]: I know I've debated a few times with myself the value of the "new" pattern matching engine. Was there a particular reason why you were trying to use it?

> Incorrect matching with new pattern match engine enabled
> --------------------------------------------------------
>
>                 Key: ASTERISK-19371
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19371
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_config
>    Affects Versions: 10.1.2, 11.23.1, 13.11.2, 14.0.0-beta2
>            Reporter: Kinsey Moore
>            Severity: Minor
>
> When executing dialplan with {{extenpatternmatchnew=yes}} set, some patterns do not match the same as they did with the old dialplan engine.  The example that I came across:
> {noformat}
> exten => 7,1,goto(100,1)
> exten => 100,1,noop(Dialplan chose correctly)
> exten => _1X[0-5],1,noop(Dialplan chose WRONG)
> {noformat}
> Under the old dialplan engine, the 100 extension would be chosen (correctly since it is more specific).  Under the new engine, {{_1X\[0-5]}} is chosen instead.  This is not a major issue since the new engine is disabled by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list