aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-02-28 08:25:16 +0000
committernyamatongwe <devnull@localhost>2010-02-28 08:25:16 +0000
commit7d98971789fbe736506f5aab3f5ae8677334f830 (patch)
tree9288d4b25dd744b0e599dbc8aba4feb5f2d0a837 /src
parentf9fa302704bccb8aa448f4124e1c4135a7b5e1a4 (diff)
downloadscintilla-mirror-7d98971789fbe736506f5aab3f5ae8677334f830.tar.gz
Fix for bug #2959876 Regular expression replace cannot escape \
Diffstat (limited to 'src')
-rw-r--r--src/Document.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index e76211395..8af819271 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -1780,6 +1780,9 @@ const char *BuiltinRegex::SubstituteByPosition(Document *doc, const char *text,
case 'v':
*o++ = '\v';
break;
+ case '\\':
+ *o++ = '\\';
+ break;
default:
*o++ = '\\';
j--;