Hello all,

        I'd like to know if it's possible to define a rule in such a way as
to permit the pattern matching of say the start of a fact with anything else
afterwards. For instance,

(assert (expression A OR [B AND C OR D] ))

(defrule some-rule
  (expression ?v OR X)
=>
action

where X would be the rest of the tokens in the matching fact ( it would
value [B AND C OR D] ).

To my knowledge, within a rule based expert system i shouldn't be able to do
such things but If i was it could simplify greatly the goals i have fixed
myself.


Can anyone help me out?
        

Daniel Carrier


---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to