Updated VALID_MANA_REGEX with capture groups