Skip to content

BUG: IsAcronymNumber in StringMatcher doesn't correctly identify digits #4508

Description

@DavidGBrett

Repost for tracking of issue reported by @TBM13 in Discord

https://github.com/Flow-Launcher/Flow.Launcher/blob/dev/Flow.Launcher.Infrastructure/StringMatcher.cs#L270

It is supposed to check if the char is a digit but the ascii values of zero and nine are 48 and 57 respectively, not 0 and 9 like the code assumes

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions