(?m)applies the following effective flags to the remainder of the pattern: gm m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
^start of line
\|the literal | (12410 / 1748 / 7C16)
\={3}the literal = (6110 / 758 / 3D16) , repeated exactly 3 times
\ra carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
Group 1([\s\S]+?(?=^\|\={3}[\r\n])) +?matches at least one character from the set below:
\sany whitespace character
\Sany non-whitespace character
Positive Lookahead(?=^\|\={3}[\r\n]) ^start of line
\|the literal | (12410 / 1748 / 7C16)
\={3}the literal = (6110 / 758 / 3D16) , repeated exactly 3 times
\ra carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
^start of line
\|the literal | (12410 / 1748 / 7C16)
={3}the literal = (6110 / 758 / 3D16) , repeated exactly 3 times
\ra carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string