Markdown.pl: improve readability of a few regexs
commiteccdc9d08e094f7fdbcdbd6147be90dc0641690f
authorKyle J. McKay <mackyle@gmail.com>
Tue, 3 Aug 2021 23:47:30 +0000 (3 16:47 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 3 Aug 2021 23:47:30 +0000 (3 16:47 -0700)
treed5da2801ff2b492efd3160337173f53dbf7e83a6
parent4840dad1c90b4b9d98d5cb7f5186cc8ace7386f8
Markdown.pl: improve readability of a few regexs

Instead of using internal "\" escapes to match "/", just replace
the surrounding "/"..."/" delimiters with "m{"..."}" instead.

Also remove unnecessary surrounding brackets from single character
character classes.

These changes make it easier to understand the patterns.

This is a cosmetic change only, no functional differences.

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