The multiline mode in JavaScript expressions changes the behavior of ^ and $ to match patterns across multiple lines.
Topic: RegularExpressions
I learned that it is possible to back reference capture groups and named capture groups in JavaScript regular expressions
A cheat sheet for JavaScript lookahead and lookbehind regular expressions.