From 841c766c942982f021aa97c1827faaa23715dee7 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 13 Jan 2024 17:44:50 +0200 Subject: fix(subplot/jt.yaml): declare types for regex captures Signed-off-by: Lars Wirzenius Sponsored-by: author --- subplot/jt.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/subplot/jt.yaml b/subplot/jt.yaml index 0c50413..a121ddf 100644 --- a/subplot/jt.yaml +++ b/subplot/jt.yaml @@ -11,6 +11,10 @@ function: create_script - when: I invoke jt init (?P\S+) (?P\S+) "(?P.*)" + types: + dirname: word + journalname: word + title: text regex: true impl: python: @@ -48,6 +52,8 @@ function: edit_draft - then: output contains "(?P<pattern>.*)" + types: + pattern: text regex: true impl: python: -- cgit v1.2.1