From c3e0b6572b8c45f81ff7f6e2fab216b32b55c299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 12 Jul 2021 11:11:05 +0200 Subject: isort: Support pointers --- isort | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isort b/isort index af7828e..eecde11 100755 --- a/isort +++ b/isort @@ -11,8 +11,8 @@ $semicolon = s/;$/,/; # Sort words. @words = sort { - ($x = $a) =~ s/^\*//; - ($y = $b) =~ s/^\*//; + ($x = $a) =~ s/^\*+//; + ($y = $b) =~ s/^\*+//; $x cmp $y } split /\s+/; -- cgit v1.2.3