Skip to content

Escape sequences don't work in awatcher/config.toml #78

Description

@tempodat

From README: Use escapes \ to match special characters, e.g. org\.kde\.Dolphin

Yet this doesn't work for me, failing with a TOML parse error

$ awatcher
Error: TOML parse error at line 48, column 21
   |
48 | match-app-id = "org\.kde\.kwrite"
   |                     ^
missing escaped value, expected `b`, `f`, `n`, `r`, `\`, `"`, `u`, `U`

Adding -vvv doesn't give additional detail.

Same error when trying to escape strings in other fields, such as matching an exact star char in the match-title regex, which was where I encountered this problem originally.

Host: Fedora 44, KDE Plasma 6.7.4
Awatcher Version: v0.13.1, bundled, rust (built from source)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions