Fix "cmd" shell regex

I don't know why it didn't work before