Skip to content

Commit 5c6dfae

Browse files
committed
Chore: coding style
1 parent d5773b8 commit 5c6dfae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wd_core.au3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,8 @@ EndFunc ;==>__WD_CloseDriver
14641464
; Example .......: No
14651465
; ===============================================================================================================================
14661466
Func __WD_EscapeString($sData)
1467-
Local $sEscaped = StringRegExpReplace($sData, "([" & $_WD_ESCAPE_CHARS & "])", "\\$1")
1467+
Local $sRegEx = "([" & $_WD_ESCAPE_CHARS & "])"
1468+
Local $sEscaped = StringRegExpReplace($sData, $sRegEx, "\\$1")
14681469
Return SetError($_WD_ERROR_Success, 0, $sEscaped)
14691470
EndFunc
14701471

0 commit comments

Comments
 (0)