/^!(theme|colou?r)( |$)/Si
One great thing about regex is that it can match for both words at the same time using ? as an optional alternative.