Fix improving subject

Pattern "." does not match line breaks (\r and \n) even when option "m" is set in JavaScript.
If you want to match a regexp pattern to line breaks, you can use "[\s\S]".