TortoiseGit Filter for 2 Usernames

I tried to make a TortoiseGit report for the commit history, I did this to exclude 2 users from the logs, I did this for one with:

^(.(?!username))*$

But I need to exclude the additional user. How to filter 2 lines?

I already tried:

^(.(?!username|username1))*$

and

^(.(?!username))*$|^(.(?!username1))*$

ps. Only this filter format works for TortoiseGit

+4
source share
2 answers

^(?!(?:username1|username2)$).*$ right.

In addition, please cancel other search criteria than Author, and do not forget to markUse Regular Expression

enter image description here

Note: Since TortoiseGit 1.8.7.1, you have Toggle checked filters

TGit1871

+4
source

Maybe this

^(?!(?:username1|username2)$).*$

or

 #  ^(?!username1$)(?!username2$).*$

 ^ 
 (?! username1 $ )
 (?! username2 $ )
 .* 
 $
+1
source

All Articles