I am learning javascript and I am analyzing existing codes.
In my JS reference book, it says to search on a single space use \"\\s\"?
\\s
But I have
\s matches any whitespace character, including tabs etc. Sure you can use a literal space also without problems. Just like you can use [0-9] instead of \d to denote any digit.
\s
[0-9]
\d