pub fn as_str(&self) -> &str {
        match &self.inner {
            RegexImpl::Wrap { options, .. } => &options.pattern,
            RegexImpl::Fancy { options, .. } => &options.pattern,
        }
    }
/// Returns the original string of this regex.
Returns the original string of this regex.
Returns the original string of this regex .
pub fn as_str(&self) -> &str {
        match &self.inner {
            RegexImpl::Wrap { options, .. } => &options.pattern,
            RegexImpl::Fancy { options, .. } => &options.pattern,
        }
    }
pub fn as_str ( & self ) -> & str { match & self . inner { RegexImpl :: Wrap { options , .. } => & options . pattern , RegexImpl :: Fancy { options , .. } => & options . pattern , } }
Returns the original string of this regex.
Returns the original string of this regex .
&self
&self