in reply to Unicode regular expressions
/^(?:\X|[\w -])+$/ [download]
\X matches the space, the dash and everything in \w, so the above simplifies to
/^\X+$/ [download]