- AuthorPosts
- November 26, 2006 at 2:00 pm #4029CrissMember
Hi,
wonderful editor!
At the moment I miss only one thing:
boolean text-search in files (Google-like AND, NOT, OR).
I know I can use regexp. f.e. (cat.+mouse)|(mouse.+cat) to search for two words (even within several lines via additional lines box in cutomize). But how to do NOT searches, f.e. find cat but not mouse, how to find cat AND mouse AND cheese etc.?
The search result could then display every line containing one of the words.Beste regards
CrissNovember 27, 2006 at 7:12 pm #4030Yutaka EmuraKeymasterSearching for regular expression
(cat|mouse)
can find cat OR mouse.
I am not sure what you mean by “cat but not mouse”. It donesn’t make sense to me.
See http://www.emeditor.com/help/howto/search/search_regexp_syntax.htm
for more information about regular expression syntax.December 3, 2006 at 2:46 am #4038tranglosMemberI think the OP meant expressions like “cat AND NOT mouse”, or just “cat NOT mouse”. Those would be useful for Find in Files, and you cannot express this easily with a regular expression.
- AuthorPosts
- You must be logged in to reply to this topic.