What that expression will do is look for one character of whitespace at the start of a string. Try a string with a space in front and it should match.
Try this:
^ = beginning of string
\s = whitespace
+ = there should be one or more of the previous entity
$ = end of string