[][src]Struct commonregex::CommonRegex

pub struct CommonRegex<'a> {
    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>

Methods

impl<'a> CommonRegex<'a>[src]

pub fn new() -> CommonRegex<'a>[src]

pub fn common_regex(&self, text: &'a str) -> CommonRegex<'a>[src]

Trait Implementations

impl<'a> Debug for CommonRegex<'a>[src]

Auto Trait Implementations

impl<'a> Send for CommonRegex<'a>

impl<'a> Sync for CommonRegex<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]