Sed: stop using matches to identify commands

Using equals instead. No need to use a regex if we don't have to!