mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Merge topic/actor-system throug a squashed commit.
This commit is contained in:
parent
7a6f5020f6
commit
fe7e1ee7f0
466 changed files with 12559 additions and 9655 deletions
|
@ -408,6 +408,14 @@ RE_Matcher::RE_Matcher(const char* pat)
|
|||
AddPat(pat);
|
||||
}
|
||||
|
||||
RE_Matcher::RE_Matcher(const char* exact_pat, const char* anywhere_pat)
|
||||
{
|
||||
re_anywhere = new Specific_RE_Matcher(MATCH_ANYWHERE);
|
||||
re_anywhere->SetPat(anywhere_pat);
|
||||
re_exact = new Specific_RE_Matcher(MATCH_EXACTLY);
|
||||
re_exact->SetPat(exact_pat);
|
||||
}
|
||||
|
||||
RE_Matcher::~RE_Matcher()
|
||||
{
|
||||
delete re_anywhere;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue