How to start Firefox in KDE as the Active Window

I’m not sure what the –window regex is for, but it complains if absent, so I just made it ‘.’. This command will start firefox and make it the active window:

kstart --activate --window . firefox