From ecc1328132b288810850ca6fe27eb1308f658a2d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 24 Sep 2025 22:26:40 +0200 Subject: module/alacritty: Correctly escape regexps --- modules/by-name/al/alacritty/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/by-name/al/alacritty/module.nix b/modules/by-name/al/alacritty/module.nix index 33db0d3e..fc626375 100644 --- a/modules/by-name/al/alacritty/module.nix +++ b/modules/by-name/al/alacritty/module.nix @@ -103,7 +103,7 @@ in { mods = "Control|Shift"; }; post_processing = false; - regex = "([^ '\"`=:\\[\\(]*/)([^/: '\"`\\)\\]]*)"; + regex = ''([^ '\"`=:\\[\\(]*/)([^/: '\"`\\)\\]]*)''; } { action = "Paste"; @@ -112,7 +112,7 @@ in { mods = "Control|Shift"; }; post_processing = false; - regex = "([a-z0-9]{7,40})\\s"; + regex = ''([a-z0-9]{7,40})\\s''; } ]; }; -- cgit 1.4.1