I’m having some trouble understanding this challenge, so hoping someone can explain it.
In the previous challenge, to select all the whitespace characters we used \s+
Now to select non-whitespace characters the correct expression is \S
What I don’t understand is why we need the “+” for the first expression but not the second. Why does \S match a different number of characters to \S+?
Thanks for your help!
Link to the challenge: