f62177fb1a
* Bugfix: declare variable locally * Bugfix: fix syntax error * Bugfix: regex char-class with alternatives The old implementation used character classes instead of alternatives. As a consequence, the regex would match: - a_warrior_0 - r_warrior_0 - m_warrior_0 - o_warrior_0 - r_warrior_0 - |_warrior_0 - h_warrior_0 - ... The regex will now match: - armor_warrior_0 - head_warrior_0 - shield_warrior_0