You are viewing a single comment's thread. Return to all comments →
This is my solution \w{3}\W{1}\w+\W{1}\w{3}$
But test case 5 consistently fails with the below
^\w{3}\W{1}\w+\W{1}\w{3}$
Or
^\w{3}\W{1}\w+\W{1}\w{3}
Am curious to know why?
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Word & Non-Word Character
You are viewing a single comment's thread. Return to all comments →
This is my solution \w{3}\W{1}\w+\W{1}\w{3}$
But test case 5 consistently fails with the below
^\w{3}\W{1}\w+\W{1}\w{3}$
Or
^\w{3}\W{1}\w+\W{1}\w{3}
Am curious to know why?