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

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

Open
James-Fire opened this issue Mar 26, 2023 · 0 comments
Open

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

James-Fire opened this issue Mar 26, 2023 · 0 comments
Labels

Comments

@James-Fire
Copy link

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

@James-Fire James-Fire added the bug label Mar 26, 2023
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

1 participant