8000 Can't add exception for "A/B" in an existence rule checking for "/" character · Issue #956 · errata-ai/vale · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Can't add exception for "A/B" in an existence rule checking for "/" character #956
Closed
@micaswyers-work

Description

@micaswyers-work

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.

Vale Studio showing issue

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0