fn parse_node_arch(node_gyp_output: &str) -> String {
        let version_regex =
            Regex::new(r"gyp verb architecture (?P<arch>ia32|x64|arm|arm64)").unwrap();
        let captures = version_regex.captures(&node_gyp_output).unwrap();
        String::from(&captures["arch"])
    }
// The node-gyp build output includes platform information in a string
// that looks like:
//
//     gyp verb architecture ia32
The node-gyp build output includes platform information in a string
that looks like.

gyp verb architecture ia32
The node - gyp build output includes platform information in a string that looks like . gyp verb architecture ia32
fn parse_node_arch(node_gyp_output: &str) -> String {
        let version_regex =
            Regex::new(r"gyp verb architecture (?P<arch>ia32|x64|arm|arm64)").unwrap();
        let captures = version_regex.captures(&node_gyp_output).unwrap();
        String::from(&captures["arch"])
    }
fn parse_node_arch ( node_gyp_output : & str ) -> String { let version_regex = Regex :: new ( r"gyp verb architecture (?P<arch>ia32|x64|arm|arm64)" ) . unwrap ( ) ; let captures = version_regex . captures ( & node_gyp_output ) . unwrap ( ) ; String :: from ( & captures [ " " ] ) }
The node-gyp build output includes platform information in a string
that looks like:
The node - gyp build output includes platform information in a string that looks like :
node_gyp_output
&str