Markdown.pl: tidy up some regex options
commita1aa3e31db520755c25a0f2e1a2bedcc46ebea8f
authorKyle J. McKay <mackyle@gmail.com>
Mon, 14 Jun 2021 21:01:36 +0000 (14 14:01 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 14 Jun 2021 21:01:36 +0000 (14 14:01 -0700)
tree981a747a39fb9d445bd8812090485876bfe4e895
parentd0ac5b336259cb5e00dc3e64dd613bfbd57d420d
Markdown.pl: tidy up some regex options

The %g_escape_table hash gets initialized in a BEGIN block and then
remains constant for the life of Markdown.pl.

Add the "o" (compile pattern once) option to all the patterns that
it appears in to perhaps squeeze out just a tiny little bit of extra
performance if possible.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Markdown.pl