Wait, I like the regexp feature to extract parts naming them, like in
python's:
r = match("bcce(?P<group1>a*)", "aaa")
print r.group("group1")
I don't know if java support this.
Anyway, expert system + regexp is just a killer idea.
---
mga
El mar, 04 de 11 de 2003 a las 18:47, [EMAIL PROTECTED] escribis:
> I think Mihai Barbuceanu wrote:
> >
> > And for multislot binding would you allow $/[a-z]*/, meaning each value in
> > the set has to match the regex?
> > E.g. (animal (legs $/[a-z]*/)) or (animal (legs ?leg1 ?leg2 $/[a-z]*/)).
> >
> > Mihai
>
>
> Hey, that's a cool idea! Do people agree?
>
>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Science and Engineering PSEs Phone: (925) 294-2154
> Sandia National Labs FAX: (925) 294-2234
> PO Box 969, MS 9012 [EMAIL PROTECTED]
> Livermore, CA 94550 http://herzberg.ca.sandia.gov
>
> --------------------------------------------------------------------
> 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]
> --------------------------------------------------------------------
>
--------------------------------------------------------------------
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]
--------------------------------------------------------------------