return !/D/.test(number);

}

Basically: /regex/.test("hits regexes") returns true.