Skip to content

Comma cannot be used or escaped for keyword/trigger #19

@b02860de585071a2

Description

@b02860de585071a2

Trying to use a comma in the keyword does not work at all, however it can be used in the replacement text.

Suppose we have the following espanso yml:

matches:
  - trigger: ',,t'
    replace: "test"

With this, the ,,t would be interpreted literally. However in TT, this comes out as something like:

{"Trigger":",,t","Replace":"test","Vars":[],"Word":false}

(note the double quotes)

I might be missing something, but I have not found a way to interpret a keyword as a string literal. Importing a yml file (as mentioned above) does not work, most likely due to how it's converted into a json-friendly format.

Weirdly, other problematic characters are fine (", \, /, etc).

System info:

  • Version 6.9
  • Android 14
  • Pixel 8 Pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions