Skip to content

Factoids not actually case-insensitive #273

@ProducerMatt

Description

@ProducerMatt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions