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

Implement fuzzy string searching #204

Open
scripthunter7 opened this issue Feb 6, 2024 · 0 comments
Open

Implement fuzzy string searching #204

scripthunter7 opened this issue Feb 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request Priority: P4

Comments

@scripthunter7
Copy link
Member

scripthunter7 commented Feb 6, 2024

There are cases where something is just misspelled, like the modifier name: scipt instead of script. In this case, the provided modifier name is very similar to the name of the original modifier. If we find an invalid modifier name, it might be worth doing a fuzzy string searching to find the correct modifier name from the set of known modifier names (spell checkers also use similar algorithms). Later, we may recommend this as an optional fix via the suggestion API.

Possible use cases:

  • modifier names
  • CSS pseudo class names
  • scriptlet names
  • redirect names
  • pre-processor directive names
  • hints, platforms
  • expression variable names in !#if comments
  • domain TLDs
  • etc.

References, links to check:

@scripthunter7 scripthunter7 added the enhancement New feature or request label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: P4
Projects
None yet
Development

No branches or pull requests

3 participants