mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Move regex matching code to zeek namespaces
This commit is contained in:
parent
382812298d
commit
c7dc7fc955
26 changed files with 266 additions and 172 deletions
|
@ -517,7 +517,7 @@ zeek::Val* Value::ValueToVal(const std::string& source, const Value* val, bool&
|
|||
|
||||
case zeek::TYPE_PATTERN:
|
||||
{
|
||||
RE_Matcher* re = new RE_Matcher(val->val.pattern_text_val);
|
||||
auto* re = new zeek::RE_Matcher(val->val.pattern_text_val);
|
||||
re->Compile();
|
||||
return new zeek::PatternVal(re);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue