Ignore lists contain Perl regular expressions, which are ERE with extra features.
.*\.(bak|tmp)
Note that the regular expression must match the whole file name (with or without the directory part — see the manual for details), not just a part of it (as is the case with the more common case of regular expression searches), so this does not match e.g. `foo.bakmore`, whereas `\.bak` would only match a file called exactly `.bak`.