Actually, to find answer specific example the regex would in fact be "b[ai]g". Your example would find any combination of three printable characters starting with "b" and ending with "g", and would also return such things as "b-g", "bog", "b4g", etc...
Furthermore, your example would match anything containing words with a similar sequence, such as "begin", "bogus", "abigail", etc...
If you want to limit to complete words only you will need the start/end of word markers (< and >), which in the context of the config file may also require escaping with "\", as in this example:
regex _raw="\<b[ai]g\>"
... View more