npm regex will never matched trimmed command