Fix Dot matching to use is_line_terminator for all ECMAScript line terminators
The Dot (.) without the s flag should not match U+2028 (LINE SEPARATOR)
and U+2029 (PARAGRAPH SEPARATOR) per the ECMAScript spec, not just \n
and \r. Use the existing is_line_terminator helper for consistency.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>