#[repr(C)]pub struct pcre_extra { /* private fields */ }
Implementations§
Source§impl pcre_extra
impl pcre_extra
Sourcepub fn match_limit(&self) -> Option<usize>
pub fn match_limit(&self) -> Option<usize>
Returns the match limit, if previously set by set_match_limit().
The default value for this limit is set when PCRE is built. The default default is 10 million.
Sourcepub fn set_match_limit(&mut self, limit: u32)
pub fn set_match_limit(&mut self, limit: u32)
Sets the match limit to limit
instead of using PCRE’s default.
Sourcepub fn match_limit_recursion(&self) -> Option<usize>
pub fn match_limit_recursion(&self) -> Option<usize>
Returns the recursion depth limit, if previously set by set_match_limit_recursion().
The default value for this limit is set when PCRE is built.
Sourcepub fn set_match_limit_recursion(&mut self, limit: u32)
pub fn set_match_limit_recursion(&mut self, limit: u32)
Sets the recursion depth limit to limit
instead of using PCRE’s default.
Sourcepub fn unset_mark(&mut self)
pub fn unset_mark(&mut self)
Unsets the mark field. PCRE will not save mark names when matching the compiled regular expression.
Auto Trait Implementations§
impl Freeze for pcre_extra
impl RefUnwindSafe for pcre_extra
impl !Send for pcre_extra
impl !Sync for pcre_extra
impl Unpin for pcre_extra
impl UnwindSafe for pcre_extra
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