filter ignoreregex

I read the reference and all of the issues with the string ignore in them and I am still struggling with how to use ignoreregex.

With fail2ban, each filter typically has an ignorreegex line that is basically the opposite of the failregex line for the filter. Example with ignoreregex.

reaction has ignore and ignoreregex, but I understand them as global settings beneath patterns and name. I understand and use ignorecidr under patterns and ip to maintain an allow list with success.

I will use an example with real names. Say I wanted to create a generic filter to stop Google's bots from hitting a site such as GoogleOther and friends, but I want to allow Gooblebot Google Search's bot. Here is a badgoogle filter example.

        badgoogle: {
          regex: [               
            @'^<ip> - - \[.*\] ".+HTTP/.\.." \d+ \d+ ".+" ".+Google.+"$'
          ],                     
          actions: banFor('2d'),         
        },

I am having a hard time understanding how ignoreregex can be used in the equivalent way that it is used in fail2ban. How would one go about ignoring Googlebot in the above badgoogle example?

Edit: Grammar

Edit 2: Added link to a fail2ban ignoreregex example.

Edited by Michael McMahon