From 26503ae6babec8fe5442e551c8752aee230d8259 Mon Sep 17 00:00:00 2001 From: Louis-Happel <132615174+Louis-Happel@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:06:27 +0100 Subject: [PATCH] Translation extents dots (#594) * translation extents rework * Added \. support for translation extents --- .../domain/lark-oracc/oracc_atf_translation_line.lark | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebl/atf_importer/domain/lark-oracc/oracc_atf_translation_line.lark b/ebl/atf_importer/domain/lark-oracc/oracc_atf_translation_line.lark index 14a8596df..6073880e9 100644 --- a/ebl/atf_importer/domain/lark-oracc/oracc_atf_translation_line.lark +++ b/ebl/atf_importer/domain/lark-oracc/oracc_atf_translation_line.lark @@ -2,7 +2,7 @@ translation_line: "#tr" ["." language_code] ["." translation_extent] ": " markup+ language_code: /[a-z]{2}/ translation_extent: "(" [label " "] line_number ")" -label: /[a-z0-9]+/ +label: /[a-z0-9\.]+/ line_number: /[0-9]+/ markup: emphasis_part | language_part | string_part language_part: "@" LANGUAGE "{" translation_text "}"