From 9f449569df9c94670f51fd8cd5558b66884cd877 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Dec 2023 22:51:52 +0100 Subject: Improve portability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- tests/split-register-types | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/split-register-types') diff --git a/tests/split-register-types b/tests/split-register-types index 3b3070b..454d836 100644 --- a/tests/split-register-types +++ b/tests/split-register-types @@ -13,7 +13,7 @@ for os in $(getnamelist OS); do for stype in INT64_HIGH_32 INT64_LOW_32 INT64_FRONT_32 INT64_BACK_32; do utype=U$stype - rtype="$(printf '%s\n' "$stype" | sed 's/^\(INT\)[0-9]\+_[A-Z]\+_\([0-9]\+\)$/\1\2/')" + rtype="$(printf '%s\n' "$stype" | sed 's/^\(INT\)[0-9]\{1,\}_[A-Z]\{1,\}_\([0-9]\{1,\}\)$/\1\2/')" test ! "$rtype" = "$stype" rtypen=$(lookupnum "$types" $rtype) stypen=$(lookupnum "$types" $stype) -- cgit v1.2.3-70-g09d2