Added missing period

I noticed that there was a missing period in the comment that I wrote last. I wanted to make the change to improve consistency for future comments.
But actually, you could also do:
<pre>
var r = new RegExp(/\n/);
</pre>