Hello
In your screenshot, there is an underscore in the regex between Default and Logger
However, the regex you mention in the post shows no underscore. I guess it is a side effect of embedding in HTML. Just want to make sure that the regex you want to use is:
^(Default)?_?[Ll]og(ger)?$