Skip to content

String.contains doesn't work with strings that contain a hyphen. #161

@James-Fire

Description

@James-Fire

Describe the Bug

Searching for a substring that contains hyphens consistently fails to find a match.

To Reproduce

Steps to reproduce the behavior:

Attempt to string contain sulfuric-acid into sulfuric-acid-barrel. It returns false. It should return true.

Log file

I have attached a log file showing this in action. The single-word fluids are found without an issue. Multi-word fluids are not.

Script Log proof.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions