rulefile error handling is implemented

This commit is contained in:
ichiichi11
2020-11-22 11:05:52 +09:00
parent d976ddc4d0
commit da5f4119fb
2 changed files with 46 additions and 19 deletions

View File

@@ -383,6 +383,7 @@ impl LeafMatcher for RegexMatcher {
);
return Result::Err(vec![errmsg]);
}
self.re = re_result.ok();
return Result::Ok(());
}