In Emacs regex, \n
doesn't match a new line character \n
.
- Am I correct that
$
matches the position between a new line character and the character right before the new line character. e.g. for a stringabc\n
,$
matches the position betweenc
and\n
? - What is the regex that matches
\n
?