From a458f2dc6772b663e428a10adc38cc1851c33f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Thu, 28 Mar 2024 11:14:16 +0100 Subject: [PATCH] Fix filter regex. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolás Ortega Froysa --- pacundo.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacundo.pl b/pacundo.pl index fc90c52..c11bc25 100755 --- a/pacundo.pl +++ b/pacundo.pl @@ -129,7 +129,7 @@ $n, $tx->{action}, $tx->{pkg_name} push(@sel, ($start..$end)); } - @sel = sort grep({!/[0-9+]-[0-9+]/} @sel); + @sel = sort grep({!/[0-9]+-[0-9]+/} @sel); my @sel_undo; push(@sel_undo, $undo_txs[$_-1]) foreach (@sel);