-
Notifications
You must be signed in to change notification settings - Fork 123
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
Regular expression typo false positive #642
Comments
Similar to #643, our main two routes are
|
FYI #695 provides a new workaround for false positives |
To illustrate this issue with more test cases, here is another false positive of a regular expression encountered in a markdown document (as produced by
In my case, the fix consisted in adding the following configuration to my [tool.typos]
default.extend-ignore-identifiers-re = [
"ba",
] |
Personally, I would recommend using When handling identifiers, I would recommend to instead use
|
Ah yes, thanks @epage for the precision. It's better indeed. It just took me while to understand the different stages of tokenization process of In the end I fine-tuned [tool.typos]
default.extend-ignore-re = [
"!ba;",
] |
Hello,
I've this case:
Would that be possible to filter those out?
The text was updated successfully, but these errors were encountered: