diff options
Diffstat (limited to 'pkgs/by-name/tr/tree-sitter-yts/corpus')
5 files changed, 82 insertions, 11 deletions
diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt index 0070baf8..f194cb53 100644 --- a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt +++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments.txt @@ -2,8 +2,8 @@ Parse multiple lines ================================================================================ -pick 6221 "Name" "2024-01-17" "A" "[0m 0s]" "url" -pick 6181 "Name2" "2024-01-16" "A2" "[0m 0s]" "url" +pick 6z21 "Name" "2024-01-17" "A" "0m 0s" "url" +pick 61f1 "Name2" "2024-01-16" "A2" "0m 0s" "url" # This is a comment # it contains information diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt index 40cdab7d..fd45e470 100644 --- a/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt +++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/comments_correct.txt @@ -2,7 +2,7 @@ Disregard comments in title ================================================================================ -pick 6094 "#100 Name" "2024-01-12" "A" "[133m 29s]" "url" +pick 6r94 "#100 Name" "2024-01-12" "A" "133m 29s" "url" -------------------------------------------------------------------------------- diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt index 59476b98..af9ca82f 100644 --- a/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt +++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/duration.txt @@ -2,10 +2,10 @@ Parse multiple lines with different durations ================================================================================ -pick 6221 "Name" "2024-01-17" "A" "[1h 0m]" "url" -pick 6181 "Name2" "2024-01-16" "A2" "[20m 02s]" "url2" -pick 6184 "Name3" "2024-01-16" "A3" "[20h 0m]" "url3" -pick 6206 "Name4" "2024-01-16" "A4" "[No Duration]" "url4" +pick 6f21 "Name" "2024-01-17" "A" "1h 0m" "url" +pick 6z81 "Name2" "2024-01-16" "A2" "20m 02s" "url2" +pick 6a84 "Name3" "2024-01-16" "A3" "20h 0m" "url3" +pick 6b06 "Name4" "2024-01-16" "A4" "[No Duration]" "url4" -------------------------------------------------------------------------------- diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/flags.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/flags.txt new file mode 100644 index 00000000..8c1d255b --- /dev/null +++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/flags.txt @@ -0,0 +1,71 @@ +================================================================================ +Correctly detect flags +================================================================================ + +watch --priority="-100" --speed 1 6z21 "Name" "2024-01-17" "A" "0m 0s" "url" +watch -s 2 -l 'en,gr,fr' 61f1 "Name2" "2024-01-16" "A2" "0m 0s" "url" +watch -s=2 -l='en,gr,fr' 61f1 "Name2" "2024-01-16" "A2" "0m 0s" "url" + +-------------------------------------------------------------------------------- + +(source_file + (line + (command) + (flag) + (flag) + (id) + (title + (quote) + (quote)) + (date + (quote) + (quote)) + (author + (quote) + (quote)) + (duration + (quote) + (quote)) + (url + (quote) + (quote))) + (line + (command) + (flag) + (flag) + (id) + (title + (quote) + (quote)) + (date + (quote) + (quote)) + (author + (quote) + (quote)) + (duration + (quote) + (quote)) + (url + (quote) + (quote))) + (line + (command) + (flag) + (flag) + (id) + (title + (quote) + (quote)) + (date + (quote) + (quote)) + (author + (quote) + (quote)) + (duration + (quote) + (quote)) + (url + (quote) + (quote)))) diff --git a/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt b/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt index 1ae3d106..8236d6b7 100644 --- a/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt +++ b/pkgs/by-name/tr/tree-sitter-yts/corpus/url.txt @@ -2,10 +2,10 @@ Parse multiple lines with url ================================================================================ -pick 6221 "Name" "2024-01-17" "A" "[0h 0m]" "url" -pick 6181 "Name2" "2024-01-16" "A2" "[0h 0m]" "url2" -pick 6184 "Name3" "2024-01-16" "A3" "[0h 0m]" "url3" -pick 6206 "Name4" "2024-01-16" "A4" "[0h 0m]" "url4" +pick c221 "Name" "2024-01-17" "A" "0h 0m" "url" +pick b181 "Name2" "2024-01-16" "A2" "0h 0m" "url2" +pick a184 "Name3" "2024-01-16" "A3" "0h 0m" "url3" +pick d206 "Name4" "2024-01-16" "A4" "0h 0m" "url4" -------------------------------------------------------------------------------- |