You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ecolect 0.6.0constecolect=require('ecolect')consten=require('ecolect/language/en')const{ any }=require('ecolect/values')constintents=ecolect.intentsBuilder(en).intent('catchall').value('any',any()).add('{any}').done().build()// "test a" works fine ("any" == "test")// "a test" works fine ("any" == "test")// "test a test" results in `Error: Multiple matches are only supported when in partial mode`// "test a a" also results in error// "a a a" also results in error
Additionally, in some situations it seems that after triggering this error, it will break future matching for any expression, including ones that worked previously. I haven't been able to narrow this down yet.
The text was updated successfully, but these errors were encountered:
Consider this simplified example
Additionally, in some situations it seems that after triggering this error, it will break future matching for any expression, including ones that worked previously. I haven't been able to narrow this down yet.
The text was updated successfully, but these errors were encountered: