regexp matchin across lines for 5380 5380
Merge pull request #1969 from Stanford-Online/jbau-better-regexp-mathjax

regexp matchin across lines