You are viewing a single comment's thread. Return to all comments →
They included test cases that didn't match the description of the problem.
The only pattern to pass all test cases is /^\S{2,3}\s\S{2}\s\S{2,3}$/
/^\S{2,3}\s\S{2}\s\S{2,3}$/
The answer to the problem the way it was described is
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Whitespace & Non-Whitespace Character
You are viewing a single comment's thread. Return to all comments →
They included test cases that didn't match the description of the problem.
The only pattern to pass all test cases is
/^\S{2,3}\s\S{2}\s\S{2,3}$/
The answer to the problem the way it was described is