pub fn run_global_match(&self, input: &str) -> String {
        self.matches(input, 0)
            .into_iter()
            .map(move |m| format_match(&m, input))
            .collect::<Vec<String>>()
            .join(",")
    }
/// Collect all matches into a String, separated by commas.
Collect all matches into a String, separated by commas.
Collect all matches into a String separated by commas .
pub fn run_global_match(&self, input: &str) -> String {
        self.matches(input, 0)
            .into_iter()
            .map(move |m| format_match(&m, input))
            .collect::<Vec<String>>()
            .join(",")
    }
pub fn run_global_match ( & self , input : & str ) -> String { self . matches ( input , 0 ) . into_iter ( ) . map ( move | m | format_match ( & m , input ) ) . collect :: < Vec < String > > ( ) . join ( " " ) }
Collect all matches into a String, separated by commas.
Collect all matches into a String separated by commas .
&self
input
&str