in reply to Re: The "anchor" misnomer in regexes
in thread The "anchor" misnomer in regexes

Remove the anchor, and it'll match something else (the empty string).

How will \s+ match an empty string? The plus means "match one or more", the \s means "whitespace characters". An empty string has no whitespace characters to match, because it has no characters at all.