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

Factoids not actually case-insensitive #273

Open
ProducerMatt opened this issue Jun 3, 2023 · 0 comments
Open

Factoids not actually case-insensitive #273

ProducerMatt opened this issue Jun 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ProducerMatt
Copy link
Member

An example:

Matt: S, remember what is your purpose? <reply> I pass butter
Stampy: Ok ProducerMatt, remembering that "what is your purpose?" reply "I pass butter"
Matt: What is your purpose?
Matt: what is your purpose?
Stampy: I pass butter

This is surprising because case insensitivity is enabled at several points in Factoids.py

  • Line 29: insensitive regex
  • Line 293: COLLATE NOCASE

At line 280 case_sensitive_like = false could be used but that wouldn't cover the problem above.

@ProducerMatt ProducerMatt added the bug Something isn't working label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant