Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcards also get optionals after them. Ex: "*~2 [to]" #367

Open
antonispoulakis opened this issue Aug 10, 2017 · 0 comments
Open

Wildcards also get optionals after them. Ex: "*~2 [to]" #367

antonispoulakis opened this issue Aug 10, 2017 · 0 comments
Labels

Comments

@antonispoulakis
Copy link

When using wildcards in input and an optional after them, and the input is less than the maximum length of the wildcard, it also gets the optional.
Example:

+ *~3 [optional]
- <cap>

When run:

User: hello there optional
Bot: hello there optional

instead of:

User: hello there optional
Bot: hello there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants