in reply to Unterminated \g... pattern in regex behaving badly on Windows

Please read Markup in the Monastery, in particular note that you should use <code> tags, not <pre> tags, as the former allows for easy and reliable code download and the latter can mess up page formatting.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.