title: Regex escape in C++
body: <p>How can I regex-escape a dynamically inputted string.
  I would like to surround it with actual regex code and then do matching, but I need all regex-special characters from the input escaped.</p>