From 0162eb8c40fd01a1c8e929c99c290dbc9b5818c4 Mon Sep 17 00:00:00 2001 From: Anton Bilous Date: Wed, 27 May 2026 23:40:59 +0300 Subject: [PATCH] fix(helpers): use first char to detect cyrillic in is-cyr --- src/helpers.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.typ b/src/helpers.typ index 99ebdeb..ed986d2 100644 --- a/src/helpers.typ +++ b/src/helpers.typ @@ -14,7 +14,7 @@ "грудня", ).at(month - 1) -#let is-cyr(c) = regex("[\p{Cyrillic}]") in c +#let is-cyr(c) = regex("^\p{Cyrillic}") in c /// type-safe emptiness check #let is-empty(val) = {