aboutsummaryrefslogtreecommitdiffstats
path: root/make-gif
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2017-03-24 08:19:13 -0700
committerkatherine <shmibs@shmibbles.me>2017-03-24 08:19:13 -0700
commitd2b1b1a49bea88263d8a8b8f1488061642ba479a (patch)
treea34e737db8425be1a422f9739a35f922138fc28c /make-gif
parent94bb19ee2e39b25eeea556c85b0f30092fa34a29 (diff)
downloadmake-gif-d2b1b1a49bea88263d8a8b8f1488061642ba479a.tar.gz
fix rational number pat
Diffstat (limited to 'make-gif')
-rwxr-xr-xmake-gif2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-gif b/make-gif
index 3d77d1a..7aa845e 100755
--- a/make-gif
+++ b/make-gif
@@ -56,7 +56,7 @@ local colour_count=256
local rect=""
local timepat='^(([0-9][0-9]:){1,2}[0-9][0-9]|[0-9]+)(\.[0-9]+){0,1}$'
-local numpat='^[1-9][0-9]*(\.[0-9]+){0,1}$'
+local numpat='^([1-9][0-9]*(\.[0-9]+){0,1}|0\.[0-9]*[1-9])$'
local intpat='^[1-9][0-9]*$'
local zintpat='^[0-9]+$'
local dithpat='^(bayer[0-5]|heckbert|floyd_steinberg|sierra2|sierra2_4a)$'