aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-10-26 13:00:17 +0200
committerPartouf <partouf@gmail.com>2018-10-26 13:00:17 +0200
commit1adca9a5d1f18477b63206c0800fd710c168600d (patch)
treebc5da5bbec29006bb67194b47c870e8da30f3f0a /lib/compilers/argument-parsers.js
parent1ba18ce776173e557fd06e04cac1edda2e3fc2b5 (diff)
downloadcompiler-explorer-1adca9a5d1f18477b63206c0800fd710c168600d.tar.gz
compiler-explorer-1adca9a5d1f18477b63206c0800fd710c168600d.zip
fix regex
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r--lib/compilers/argument-parsers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js
index b8cfa153a..65488f932 100644
--- a/lib/compilers/argument-parsers.js
+++ b/lib/compilers/argument-parsers.js
@@ -31,7 +31,7 @@ class BaseParser {
return compiler.exec(compiler.compiler.exe, [helpArg]).then(result => {
const options = {};
if (result.code === 0) {
- const optionFinder = /^\s*(--?[-a-zA-Z]+)\s*(.*)/;
+ const optionFinder = /^\s*(--?[-a-zA-Z0-9]+)\s*(.*)/;
let previousOption = false;
utils.eachLine(result.stdout + result.stderr, line => {