@esc if you wanted to nail this down, you could use the following pattern:
```
no_avg_pattern = re.compile(r'^(no( (.*)?averaging)?)?$', re.IGNORECASE)
```

Looking at the NAME User Guide, this'll cover all bases i.e.
```
>>> p = re.compile(r'^(no( (.*)?averaging)?)?$', re.IGNORECASE)
>>> p.search('no time averaging')
<_sre.SRE_Match object at 0x7f00ce9fcdd8>
>>> p.search('no averaging')
<_sre.SRE_Match object at 0x7f00ce9fce70>
>>> p.search('no')
<_sre.SRE_Match object at 0x7f00ce9fcdd8>
>>> p.search('')
<_sre.SRE_Match object at 0x7f00ce9fce70>
```