Lines Matching refs:negative
171 const negative = /^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/;
300 next.match(negative)) &&
322 else if (arg.match(/^-.\..+/) && !arg.match(negative)) {
338 else if (arg.match(/^-[^-]+/) && !arg.match(negative)) {
389 next.match(negative)) &&
406 arg.match(negative) &&
479 … if (!args[ii].match(/^-[^0-9]/) || args[ii].match(negative) || isUnknownOptionAsArg(args[ii]))
505 …(isUndefined(argAfterEqualSign) && /^-/.test(next) && !negative.test(next) && !isUnknownOptionAsAr…
520 if (/^-/.test(next) && !negative.test(next) && !isUnknownOptionAsArg(next))
861 if (arg.match(negative) || !arg.match(/^-[^-]+/)) {
887 if (arg.match(negative)) {