Precompile the . regex in CommandItems.