23 lines
405 B
Rust
23 lines
405 B
Rust
//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,
|