From edc4d0c340cdacbed8a4ae9eb2346bead325045c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 2 Feb 2014 22:43:07 +0000 Subject: [PATCH] allow numbered options --- compute | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compute b/compute index 61c0350..9e5e8ba 100755 --- a/compute +++ b/compute @@ -39,7 +39,7 @@ while (<>) { next if m/^\s*\#/; next unless m/\S/; next if m/^\s/; - if (m/^([A-Z]+)\s*\=\s*(\S.*)$/) { + if (m/^([A-Z0-9]+)\s*\=\s*(\S.*)$/) { my ($choname, $desc) = ($1,$2); my $cho = addchoice($choname, Desc => $desc); if ($desc =~ m/\[(\d+):(\d+)\]/) { -- 2.30.2