From 704cb8d34054febf2e9663585217145b445729c9 Mon Sep 17 00:00:00 2001 From: Mirochill <200482516+Mirochill@users.noreply.github.com> Date: Mon, 25 May 2026 20:38:47 +0200 Subject: [PATCH] Fix mini grammar escape warnings --- sardine_core/sequences/tidal_parser/mini/grammar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sardine_core/sequences/tidal_parser/mini/grammar.py b/sardine_core/sequences/tidal_parser/mini/grammar.py index a6bf32f0..af86e12f 100644 --- a/sardine_core/sequences/tidal_parser/mini/grammar.py +++ b/sardine_core/sequences/tidal_parser/mini/grammar.py @@ -116,7 +116,7 @@ # # A primitive is a simple token like a word (string) or a number (real or # integer). - word = ~"[-\w]+" + word = ~"[-\\w]+" number = real / integer real = integer '.' pos_integer? pos_real = pos_integer '.' pos_integer? @@ -126,6 +126,6 @@ ## Misc minus = '-' - ws = ~"\s+" + ws = ~"\\s+" """ )