Fix regexp expression termination

Javascript statements to be terminated by newlines and EOFs.

Tested with:

 - node -e 're = /GET (\\S+) HTTP/'
 - echo "re = /GET (\\S+) HTTP/\nconsole.log(re)" | node
Merge pull request #18 from cesanta/regexptok

Fix regexp expression termination