Skip to content

💡: Add possibility to use wildcard operator in custom dictionaries #6491

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

Open
1 task done
hedi-far opened this issue Nov 5, 2024 · 1 comment
Open
1 task done

Comments

@hedi-far
Copy link

hedi-far commented Nov 5, 2024

Problem

I would like to flag all words starting or ending with a certain string as forbidden.

Solution

Example:
!apple% flags applejuice, applesauce, apple-flavoured;
!%apple flags crabapple

Alternatives

No response

Additional Context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ssbarnea
Copy link
Contributor

ssbarnea commented May 1, 2025

In fact use of regexes would be more appropriate for this and I have several very valid use cases for it, like prevention of any or some particular unicode strings in the source code. A regex [^\x00-\x7F] could prove useful to for it.

I also use codespell in parallel with cspell but sadly this one is missing these too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants