Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

keith-hall
Copy link
Contributor

"\'" failed to be parsed as valid YAML by rust-yaml2. As ' is not a special character in regular expressions, it is enough to quote it without escaping.

Fixes CI in trishume/syntect#602 which was failing with this error:

[bat error]: /home/runner/work/syntect/syntect/bat/assets/syntaxes/02_Extra/Jsonnet/jsonnet.sublime-syntax: Invalid YAML file syntax: while parsing a quoted scalar, found unknown escape character at byte 2838 line 93 column 14

`"\'"` failed to be parsed as valid YAML by rust-yaml2. As `'` is not a special character in regular expressions, it is enough to quote it without escaping.
@gburiola gburiola merged commit 56ac0e6 into gburiola:master Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants