simplify level and defense regex by ignoring case