Closed
Description
Check for existing issues
- Completed
Environment
- OS: MacOS 14.5
- Install method: Homebrew
- Vale version: 3.9.3
Describe the bug / provide steps to reproduce it
We have an existence rule that flags slash characters (/), however, we want to create an exception for "A/B". Even after adding various exceptions in the rule .yml file, vale is still flagging "A/B" in the sample text. We think this could be an interaction with the /
because it is a special character in regex.
We were only able to get Vale to ignore "A/B" by adding a TokenIgnore to the vale.ini file: TokenIgnores = ((?i)a\/b test)
, which seems too aggressive.
Thank you!