Restrict Possible Usernames. FixMe

This code is not corespond the constraints, but passes the test. I suppose, something need to be fixed. Correct me if i’m wrong.

let username = "JackOfAllTrades";
let userCheck = /\D/g;
let result = username.match(userCheck);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

Link to the challenge: