I am no expert on regex, but theres many different ways of achieving the same thing.

So !=on is equivalent to off

I am pretty sure the extra (.*)$ means apply to any filename but by omitting it I guess that is the default behaviour anyway.