fn parse_region_tag_and_ensure_end(input: &str) -> IResult<&str, NoIntroToken>
    {
        let (input, code) = parse_region_tag(input)?;
        let (input, _) = alt(
            (eof,
                peek(preceded(char(' '), alt((
                    parse_additional_tag,
                    parse_baddump_tag
                    )))).map(|_| "")))(input)?;
        Ok((input, code))
    }
// We need this because of "FIFA 20 - Portuguese (Brazil) In-Game Commentary"
We need this because of "FIFA 20 - Portuguese (Brazil) In-Game Commentary"
We need this because of " FIFA 20 - Portuguese ( Brazil ) In - Game Commentary "
fn parse_region_tag_and_ensure_end(input: &str) -> IResult<&str, NoIntroToken>
    {
        let (input, code) = parse_region_tag(input)?;
        let (input, _) = alt(
            (eof,
                peek(preceded(char(' '), alt((
                    parse_additional_tag,
                    parse_baddump_tag
                    )))).map(|_| "")))(input)?;
        Ok((input, code))
    }
fn parse_region_tag_and_ensure_end ( input : & str ) -> IResult < & str , NoIntroToken > { let ( input , code ) = parse_region_tag ( input ) ? ; let ( input , _ ) = alt ( ( eof , peek ( preceded ( char ( ' ' ) , alt ( ( parse_additional_tag , parse_baddump_tag ) ) ) ) . map ( | _ | " " ) ) ) ( input ) ? ; Ok ( ( input , code ) ) }
We need this because of "FIFA 20 - Portuguese (Brazil) In-Game Commentary"
We need this because of " FIFA 20 - Portuguese ( Brazil ) In - Game Commentary "
input
&str