diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2011-01-08 18:09:48 +0000 |
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2011-01-08 18:09:48 +0000 |
| commit | 7c9eab8fef0ed79a5911d21eb97b6b0fa9d39f82 (patch) | |
| tree | 417c346383ef24234be018d7dea56d36248b0261 /lldb/source/Interpreter/CommandObjectRegexCommand.cpp | |
| parent | 7fab23bc1dfd5ab5932dfadbb9a87f4813ebf3ef (diff) | |
| download | llvm-7c9eab8fef0ed79a5911d21eb97b6b0fa9d39f82.zip llvm-7c9eab8fef0ed79a5911d21eb97b6b0fa9d39f82.tar.gz llvm-7c9eab8fef0ed79a5911d21eb97b6b0fa9d39f82.tar.bz2 | |
On Windows, replace each occurrence of '\' by '\\' on the replacement string. This is necessary to prevent re.sub from replacing escape sequences occurring in path.
For example:
llvm\tools\clang\test
was replaced by
llvm <tab> ools\clang <tab> est
llvm-svn: 123070
Diffstat (limited to 'lldb/source/Interpreter/CommandObjectRegexCommand.cpp')
0 files changed, 0 insertions, 0 deletions
