Closed Coldblackice closed 1 year ago
Sorry, but there's no way to determine whether ( and ) need escaping or whether you intended them as proper regex chars, e.g. for capture groups. So what you ask for is not possible to implement without the ability of mind reading.
While mind-reading sounds like a great feature... short of that, couldn't there be a right-click "Paste As Plain Text (Escaped)" action for the Search box (at least when in Regex mode), as well as the Exclude dirs box? I've wanted this feature as well.
When pasting a multi-line search, grepWin automatically applies the necessary newline/spacing chars. However, it doesn't escape special regex chars first, such as "(" and ")".
Apologies if this is intended.