So that $
can match before the newline and ^
can match after.
Also, don’t permit .
to match a newline, and don’t permit [^…]
to match a newline.
Otherwise, newline acts like any other ordinary character.
# Treat a newline in string as dividing string into multiple lines
#
# So that `$` can match before the newline and `^` can match after.
# Also, don’t permit `.` to match a newline, and don’t permit `[^…]` to match a newline.
#
# Otherwise, newline acts like any other ordinary character.
var newline = false is writable
lib/core/re.nit:162,2--168,32