Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit e08cf2c

Browse files
CodingMarkusCodingMarkus
CodingMarkus
authored and
CodingMarkus
committed
Shorten match pattern
1 parent 0777364 commit e08cf2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/psst/basic/test.inc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ test_is_int_psst()
6262
# We could use a subshell here but that would only make this test rather
6363
# slow for no reason, so we go for speed.
6464
case $1 in
65-
'' | *[!0123456789]*) return 2
65+
'' | *[!0-9]*) return 2
6666
esac
6767
}

0 commit comments

Comments
 (0)