Hacker News new | ask | show | jobs
by Existing4190 819 days ago
perlre Metacharacters documentation states: $ Match the end of the string (or before newline at the end of the string; or before any newline if /m is used)

(/m enables multiline mode)