//extern crate rayon; //extern crate regex; //use regex::Regex; // //struct Regex { // string: &'static str, // regex: ::regex::bytes::Regex, //} // //impl Regex { // fn new (string: &'static str) ->Regex { // Regex{ // string: string, // regex: ::regex::bytes::Regex::new(string).unwrap(), // } // } // //} // // // //pub fn parse_regex ( reg_str: &str,