pub struct CommonRegex<'a> {Show 27 fields
pub dates: Vec<&'a str>,
pub times: Vec<&'a str>,
pub phones: Vec<&'a str>,
pub phones_with_exts: Vec<&'a str>,
pub links: Vec<&'a str>,
pub emails: Vec<&'a str>,
pub ipv4s: Vec<&'a str>,
pub ipv6s: Vec<&'a str>,
pub prices: Vec<&'a str>,
pub hex_colors: Vec<&'a str>,
pub credit_cards: Vec<&'a str>,
pub visas: Vec<&'a str>,
pub mastercards: Vec<&'a str>,
pub btc_addresses: Vec<&'a str>,
pub street_addresses: Vec<&'a str>,
pub zip_codes: Vec<&'a str>,
pub po_boxs: Vec<&'a str>,
pub ssns: Vec<&'a str>,
pub md5s: Vec<&'a str>,
pub sha1s: Vec<&'a str>,
pub sha2s: Vec<&'a str>,
pub guids: Vec<&'a str>,
pub isbn13s: Vec<&'a str>,
pub isbn10s: Vec<&'a str>,
pub mac_addresses: Vec<&'a str>,
pub ibans: Vec<&'a str>,
pub gitrepos: Vec<&'a str>,
}
Fields§
§dates: Vec<&'a str>
§times: Vec<&'a str>
§phones: Vec<&'a str>
§phones_with_exts: Vec<&'a str>
§links: Vec<&'a str>
§emails: Vec<&'a str>
§ipv4s: Vec<&'a str>
§ipv6s: Vec<&'a str>
§prices: Vec<&'a str>
§hex_colors: Vec<&'a str>
§credit_cards: Vec<&'a str>
§visas: Vec<&'a str>
§mastercards: Vec<&'a str>
§btc_addresses: Vec<&'a str>
§street_addresses: Vec<&'a str>
§zip_codes: Vec<&'a str>
§po_boxs: Vec<&'a str>
§ssns: Vec<&'a str>
§md5s: Vec<&'a str>
§sha1s: Vec<&'a str>
§sha2s: Vec<&'a str>
§guids: Vec<&'a str>
§isbn13s: Vec<&'a str>
§isbn10s: Vec<&'a str>
§mac_addresses: Vec<&'a str>
§ibans: Vec<&'a str>
§gitrepos: Vec<&'a str>
Implementations§
Source§impl<'a> CommonRegex<'a>
impl<'a> CommonRegex<'a>
pub fn new() -> CommonRegex<'a>
pub fn common_regex(&self, text: &'a str) -> CommonRegex<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CommonRegex<'a>
impl<'a> RefUnwindSafe for CommonRegex<'a>
impl<'a> Send for CommonRegex<'a>
impl<'a> Sync for CommonRegex<'a>
impl<'a> Unpin for CommonRegex<'a>
impl<'a> UnwindSafe for CommonRegex<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more