pub fn match1_named_group(&self, input: &str, group: &str) -> String {
        match self.find(input) {
            Some(m) => match m.named_group(group) {
                Some(r) => match input.get(r.clone()) {
                    Some(str) => str.to_string(),
                    None => panic!("Cannot get range from string input {:?}", r),
                },
                None => panic!("Named capture group does not exist {}", group),
            },
            None => panic!("Failed to match {}", input),
        }
    }
/// Match against a string, returning the string of the named capture group given.
Match against a string, returning the string of the named capture group given.
Match against a string returning the string of the named capture group given .
pub fn match1_named_group(&self, input: &str, group: &str) -> String {
        match self.find(input) {
            Some(m) => match m.named_group(group) {
                Some(r) => match input.get(r.clone()) {
                    Some(str) => str.to_string(),
                    None => panic!("Cannot get range from string input {:?}", r),
                },
                None => panic!("Named capture group does not exist {}", group),
            },
            None => panic!("Failed to match {}", input),
        }
    }
pub fn match1_named_group ( & self , input : & str , group : & str ) -> String { match self . find ( input ) { Some ( m ) => match m . named_group ( group ) { Some ( r ) => match input . get ( r . clone ( ) ) { Some ( str ) => str . to_string ( ) , None => panic ! ( " " r ) , } , None => panic ! ( " " group ) , } , None => panic ! ( " " input ) , } }
Match against a string, returning the string of the named capture group given.
Match against a string returning the string of the named capture group given .
&self
input
&str
group
&str