If you want new line characters, then you should be able to match it with ``m`` flag, right? It's up to you to keep it as is. I'm just curious of having ``[\w\W]`` in the regExp, and not really want you to change it.