fn is_case_insensitive(&self) -> Result<bool> {
        if self.opts.case_insensitive {
            return Ok(true);
        }
        if !self.opts.case_smart {
            return Ok(false);
        }
        let expr =
            try!(syntax::ExprBuilder::new()
                 .allow_bytes(true)
                 .unicode(true)
                 .parse(&self.pattern));
        Ok(!has_uppercase_literal(&expr))
    }
/// Determines whether the case insensitive flag should be enabled or not.
///
/// An error is returned if the regex could not be parsed.
Determines whether the case insensitive flag should be enabled or not.
An error is returned if the regex could not be parsed.
Determines whether the case insensitive flag should be enabled or not . An error is returned if the regex could not be parsed .
fn is_case_insensitive(&self) -> Result<bool> {
        if self.opts.case_insensitive {
            return Ok(true);
        }
        if !self.opts.case_smart {
            return Ok(false);
        }
        let expr =
            try!(syntax::ExprBuilder::new()
                 .allow_bytes(true)
                 .unicode(true)
                 .parse(&self.pattern));
        Ok(!has_uppercase_literal(&expr))
    }
fn is_case_insensitive ( & self ) -> Result < bool > { if self . opts . case_insensitive { return Ok ( true ) ; } if ! self . opts . case_smart { return Ok ( false ) ; } let expr = try ! ( syntax ExprBuilder new ( ) allow_bytes ( true ) unicode ( true ) parse ( self pattern ) ) ; Ok ( ! has_uppercase_literal ( & expr ) ) }
Determines whether the case insensitive flag should be enabled or not.
Determines whether the case insensitive flag should be enabled or not .
&self