[][src]Trait ress::tokens::RegExExt

pub trait RegExExt<T> {
    fn from_parts(body: T, flags: Option<T>) -> RegEx<T>;
}

Extension methods for allowing RegEx to work with both &str and String

Required methods

fn from_parts(body: T, flags: Option<T>) -> RegEx<T>

Loading content...

Implementors

impl RegExExt<String> for RegEx<String>[src]

impl<'a> RegExExt<&'a str> for RegEx<&'a str>[src]

Loading content...