about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-09-24 22:54:20 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-09-24 23:00:57 +0200
commit54264269d86ef1903c6ff868e2c6ae824f4b8e18 (patch)
tree067b0da9203a1385e63181368f5408e07a3b84f8 /modules
parentmodule/alacritty: Correctly escape regexps (diff)
downloadnixos-config-54264269d86ef1903c6ff868e2c6ae824f4b8e18.zip
module/alacritty: Improve the regex escaping even more
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/al/alacritty/module.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/by-name/al/alacritty/module.nix b/modules/by-name/al/alacritty/module.nix
index fc626375..5eb84d00 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";