summaryrefslogtreecommitdiffstats
path: root/tests/split-register-types
diff options
context:
space:
mode:
Diffstat (limited to 'tests/split-register-types')
-rw-r--r--tests/split-register-types2
1 files changed, 1 insertions, 1 deletions
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)