﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1669	"RegExpReplace strips ""\"" from replacement string"	ResNullius	Jpm	"Win 7 Pro & AutoIt 3.3.6.1

StringRegExpReplace strips backslashes from the replacement string. Doesn't appear to affect other special RegExp control characters in the replacement string
{{{
$str = ""%CommonProgramFiles%\Microsoft Shared\""
MsgBox(0,"""",""Just to show that other special RegExp characters can be used in the replace string"" & @CRLF & @CRLF & StringRegExpReplace($str, ""%([^%]*?)%"", ""(?i)(?:^.*[0-9]$)""))
MsgBox(0,"""",""But the blackslashes get stripped from the replace string here: "" & @CRLF & @CRLF & StringRegExpReplace($str, ""%([^%]*?)%"", ""C:\WINDOWS\Some Other Folder""))
}}}

"	Bug	closed	3.3.7.0	AutoIt	3.3.6.1	None	Fixed	StringRegExpReplace	
