Test, validate and match regular expressions
This regular expression matches a multi-line text block starting with a line beginning with the phrase 'me:' (case-insensitive). It then captures any subsequent text until it finds a new line starting with one or more non-whitespace characters followed by ' me:'. This is commonly used for parsing chat logs, dialogue scripts, or transcript files where user interactions are tracked. The inline modifiers ensure that newlines are matched by the dot metacharacter between the specific lines.