There are quite many strings that doesn't match your pattern: Everything that contains only of
- word characters
- non-word characters
- non-word characters followed by word-characters
- the empty string
If you meant what
arhuman thought (
/[\w\W]/i) he has forgot that it wouldn't match the empty string, even then.