Simplify some regular expressions

* /\w/ including /\d/
* /\s/ including [/\r/, /\t/, /\n/]