Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#12 Incorrect multislot pattern matching with objects

CLIPS
closed
nobody
Behavior (4)
5
2013-09-10
2012-09-25
Joshua Scoggins
No

Hello, I encountered a pattern matching bug with multislots during my thesis. It has to do with a complex pattern match of the form $? ? ? $? ?. The last ? will be incorporated into the $? before it. I was able to work around it by adding a $? after the last ? but I was fortunate that it didn't affect the behavior of the rule where I found it. I have attached a file demonstrating the behavior.

Oh! The version of CLIPS I'm using is: 6.30 beta
OS: Gentoo Linux AMD64

Discussion

  • Demonstrates the pattern matching issue and how it only manifests when dealing with objects

     
  • Gary Riley
    Gary Riley
    2013-09-10

    • status: open --> closed
    • Group: --> CLIPS
     
  • Gary Riley
    Gary Riley
    2013-09-10

    Code fix in objrtmch.c has been added to the svn repository