Add AttackPattern(string) ctor. Change AttackPattern.str() to use lowercase.