I am wondering if there is a way to quote a string in the ICU library (C ++). There is "\ Q" + line + "\ E", but I am generating input that is in line. There seems to be no regular expression method in the ICU. Just change everything "\ E" in the line to work \\ E.
source
share