fn parse_redump_multitap_flag(input: &str) -> IResult<&str, NoIntroToken>
{
    // (Multi Tap (SCPH-10090) Doukonban)

    fn parse_redump_multitap_flag_inner(input: &str) -> IResult<&str, ()>
    {
        let (input, _) = tag("Multi Tap (")(input)?;
        let (input, _) = take_until(")")(input)?;
        let (input, _) = char(')')(input)?;
        let (input, _) = take_until(")")(input)?;
        Ok((input, ()))
    }

    let (input, _) = char('(')(input)?;
    let (input, flag) = recognize(parse_redump_multitap_flag_inner)(input)?;
    let (input, _) = char(')')(input)?;
    Ok((input, NoIntroToken::Flag(FlagType::Parenthesized, flag)))
}
// No one ever told inner parens were allowed!
No one ever told inner parens were allowed!
No one ever told inner parens were allowed!
fn parse_redump_multitap_flag(input: &str) -> IResult<&str, NoIntroToken>
{
    // (Multi Tap (SCPH-10090) Doukonban)
    fn parse_redump_multitap_flag_inner(input: &str) -> IResult<&str, ()>
    {
        let (input, _) = tag("Multi Tap (")(input)?;
        let (input, _) = take_until(")")(input)?;
        let (input, _) = char(')')(input)?;
        let (input, _) = take_until(")")(input)?;
        Ok((input, ()))
    }
    let (input, _) = char('(')(input)?;
    let (input, flag) = recognize(parse_redump_multitap_flag_inner)(input)?;
    let (input, _) = char(')')(input)?;
    Ok((input, NoIntroToken::Flag(FlagType::Parenthesized, flag)))
}
fn parse_redump_multitap_flag ( input : & str ) -> IResult < & str , NoIntroToken > { // (Multi Tap (SCPH-10090) Doukonban) fn parse_redump_multitap_flag_inner ( input : & str ) -> IResult < & str , ( ) > { let ( input , _ ) = tag ( " " ) ( input ) ? ; let ( input , _ ) = take_until ( " " ) ( input ) ? ; let ( input , _ ) = char ( ')' ) ( input ) ? ; let ( input , _ ) = take_until ( " " ) ( input ) ? ; Ok ( ( input , ( ) ) ) } let ( input , _ ) = char ( '(' ) ( input ) ? ; let ( input , flag ) = recognize ( parse_redump_multitap_flag_inner ) ( input ) ? ; let ( input , _ ) = char ( ')' ) ( input ) ? ; Ok ( ( input , NoIntroToken :: Flag ( FlagType :: Parenthesized , flag ) ) ) }
No one ever told inner parens were allowed!
No one ever told inner parens were allowed!
input
&str