From: Ian Jackson Date: Sun, 2 Feb 2014 22:43:07 +0000 (+0000) Subject: allow numbered options X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=appendix-a6.git;a=commitdiff_plain;h=edc4d0c340cdacbed8a4ae9eb2346bead325045c allow numbered options --- 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+)\]/) {