From 39323d772afbfaec1f77d38820dd7b12ef38b659 Mon Sep 17 00:00:00 2001 From: Shy Date: Tue, 6 Aug 2024 11:00:10 +0200 Subject: [PATCH] Fixed regex for preset name matching. --- wled | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled b/wled index 9752a5e..62eb85b 100755 --- a/wled +++ b/wled @@ -102,7 +102,7 @@ case "$2" in # Extract number and name of every preset. Right-align numbers. # Drop everything else. sed --sandbox -n \ - '/^"\(1\?[0-9]\)"[[:space:]]*:.*"n"[[:space:]]*:[[:space:]]*"\([[:print:]]*\)".*$/{ + '/^"\(1\?[0-9]\)"[[:space:]]*:.*"n"[[:space:]]*:[[:space:]]*"\([[:alnum:] _-]*\)".*$/{ s//\1: \2/ s/^[0-9]:/ &/ p