Lines Matching refs:REPLACE
4 string(REPLACE ".cpp" ".hpp" OUTPUT_HPP "${OUTPUT}")
49 string(REPLACE "\r" "" lines "${lines}\n")
50 string(REPLACE "\t" " " lines "${lines}")
52 string(REGEX REPLACE "/\\*([^*]/|\\*[^/]|[^*/])*\\*/" "" lines "${lines}") # multiline comments
53 …string(REGEX REPLACE "/\\*([^\n])*\\*/" "" lines "${lines}") # single-line comments
54 …string(REGEX REPLACE "[ ]*//[^\n]*\n" "\n" lines "${lines}") # single-line comments
55 …string(REGEX REPLACE "\n[ ]*(\n[ ]*)*" "\n" lines "${lines}") # empty lines & leadi…
56 string(REGEX REPLACE "^\n" "" lines "${lines}") # leading new line
58 string(REPLACE "\\" "\\\\" lines "${lines}")
59 string(REPLACE "\"" "\\\"" lines "${lines}")
60 string(REPLACE "\n" "\\n\"\n\"" lines "${lines}")
62 string(REGEX REPLACE "\"$" "" lines "${lines}") # unneeded " at the eof