We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
because your using the + which means 'multiple times'. It will not always match the exact count of characters we are looking for. See @axlash example, where he uses the same format, but uses {#} which means 'the specified number of times'.
Cookie support is required to access HackerRank
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 →
because your using the
+
which means 'multiple times'. It will not always match the exact count of characters we are looking for. See @axlash example, where he uses the same format, but uses{#}
which means 'the specified number of times'.