/^(?:\X|[\w -])+$/
\X matches the space, the dash and everything in \w, so the above simplifies to
/^\X+$/
In reply to Re: Unicode regular expressions
by ikegami
in thread Unicode regular expressions
by SilasTheMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |