in reply to Match non-whitespace characters

\s (lower case 's') matches whitespace. Upper case 'S', \S is used to match non-whitespace.