Lines Matching refs:Regex
21 pub struct Regex {
22 re: bytes::Regex,
47 re: *const Regex,
57 impl Deref for Regex {
58 type Target = bytes::Regex;
59 fn deref(&self) -> &bytes::Regex {
78 fn rure_compile_must(pattern: *const c_char) -> *const Regex {
101 ) -> *const Regex {
134 let re = Regex {
143 *error = Error::new(ErrorKind::Regex(err));
153 fn rure_free(re: *const Regex) {
154 unsafe { drop(Box::from_raw(re as *mut Regex)); }
160 re: *const Regex,
173 re: *const Regex,
192 re: *const Regex,
207 re: *const Regex,
231 re: *const Regex,
246 re: *const Regex,
307 re: *const Regex,
401 fn rure_captures_new(re: *const Regex) -> *mut Captures {
519 *error = Error::new(ErrorKind::Regex(err))