diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-14 13:03:24 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-14 13:03:24 +0100 |
commit | 3b4b0ee9c1c1a38eb5cabb4a52393cb6c1154bc2 (patch) | |
tree | 75e4ff9ca1f9a007e200765fff8a17913262f46b /tree-sitter-yts/grammar.js | |
parent | build(treewide): Update (diff) | |
download | yt-3b4b0ee9c1c1a38eb5cabb4a52393cb6c1154bc2.tar.gz yt-3b4b0ee9c1c1a38eb5cabb4a52393cb6c1154bc2.zip |
chore(version): v1.4.0 v1.4.0
Diffstat (limited to 'tree-sitter-yts/grammar.js')
-rw-r--r-- | tree-sitter-yts/grammar.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tree-sitter-yts/grammar.js b/tree-sitter-yts/grammar.js index c1c193f..7576228 100644 --- a/tree-sitter-yts/grammar.js +++ b/tree-sitter-yts/grammar.js @@ -59,7 +59,8 @@ module.exports = grammar({ ), id: ($) => /[a-z0-9]+/, title: ($) => seq($._q, /[^"]+/, $._q), - date: ($) => seq($._q, choice("[No release date]", /\d{4}-\d{2}-\d{2}/), $._q), + date: ($) => + seq($._q, choice("[No release date]", /\d{4}-\d{2}-\d{2}/), $._q), author: ($) => seq($._q, choice("[No author]", /[^"]+/), $._q), duration: ($) => seq($._q, seq(choice("[No duration]", /\d+m \d+s/, /\d+h \d+m/)), $._q), |