Search in Regex template in TextPad does not work, works in Visual Studio

I am trying to use TextPad to search for a regular expression in multiple files. I have a simple template, but it does not work in TextPad. It works great in Visual Studio.

Does anyone have any idea?

I'm looking for:

hosted.mysite.com or host.mysite.com

using the template:

(hosted|host)\.mysite\.com
+3
source share
5 answers

try the following:

 host\(ed\)?\.mysite\.com
+3
source

Use something like this

\(hosted\|host\).mysite.com
+5
source

/. , Visual Studio, Eclipse, Netbeans IDE .

+2

Textpad , .

:

\(hosted\|host\)\.mysite\.com

: .

+1
source

POSIX text regular expressions are good, but even better results can be achieved by installing Win GNU util grep and adding the cmd / c command "Request parameters", "Capture output": this way you can get a full file search with even Perl regexes: grep -nhPr "CoolRegexToSearchWith" C: \ MyDir \ ToSearchRecursivly

+1
source

Source: https://habr.com/ru/post/1720119/


All Articles