pub fn parse_string_regex<'a>(
    input: StringParser<'a>,
    regex_str: &'static str
) -> Result<(TextLit<'a>, StringParser<'a>), ()>