From a7b80c98810529ac04332c2cd299420209e795cf Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 7 Jan 2022 19:35:21 +0100 Subject: [PATCH] Remove misleading comment --- src/common.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common.cpp b/src/common.cpp index 41a867b29..afcbb47c3 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -1042,8 +1042,7 @@ static void escape_string_script(const wchar_t *orig_in, size_t in_len, wcstring } /// Escapes a string for use in a regex string. Not safe for use with `eval` as only -/// characters reserved by PCRE2 are escaped, i.e. it relies on fish's automatic escaping -/// of subshell output in subsequent concatenation or for use as an argument. +/// characters reserved by PCRE2 are escaped. /// \param in is the raw string to be searched for literally when substituted in a PCRE2 expression. static wcstring escape_string_pcre2(const wcstring &in) { wcstring out;