Better shebang pattern matcher

This commit is contained in:
Bruce Hill 2019-02-02 19:49:59 -08:00
parent 0e90d68efa
commit 6212e1207f

View File

@ -19,8 +19,7 @@ command line program with $args:
$version = $version =
$file, matching (" $file, matching ("
#![^ #![^
]* nomsu %-V[ ]*([^ ]* nomsu %-V[ ]*([%d.]*)
]*)
") ")
$file_tests = [] $file_tests = []
for $src = $test in (nomsu environment, Module $filename).TESTS: for $src = $test in (nomsu environment, Module $filename).TESTS: