mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/dev/patterns-in-sets'
Fixes in merge: - Memory leak in HashKey ctor - Minor whitespace/style changes * origin/topic/dev/patterns-in-sets: Enable Patterns as Table index in non singleton cases Added support to create a Hashkey for PatternVals using their Pattern Texts
This commit is contained in:
commit
d581aa76aa
8 changed files with 140 additions and 4 deletions
19
testing/btest/Baseline/language.table-pattern-index/out
Normal file
19
testing/btest/Baseline/language.table-pattern-index/out
Normal file
|
@ -0,0 +1,19 @@
|
|||
/^?(one|foo|bar)$?/
|
||||
/^?(two|oob)$?/
|
||||
/^?(three|oob)$?/
|
||||
/^?(four)$?/
|
||||
-----------------
|
||||
/^?(two|oob)$?/
|
||||
/^?(four)$?/
|
||||
/^?(one|foo|bar)$?/
|
||||
/^?(three|oob)$?/
|
||||
-----------------
|
||||
/^?(two|oob)$?/, 1
|
||||
/^?(four)$?/, 3
|
||||
/^?(one|foo|bar)$?/, 0
|
||||
/^?(three|oob)$?/, 2
|
||||
-----------------
|
||||
/^?(two|oob)$?/, 3, 2
|
||||
/^?(one|foo|bar)$?/, 2, 0
|
||||
/^?(four)$?/, 5, 6
|
||||
/^?(three|oob)$?/, 4, 4
|
Loading…
Add table
Add a link
Reference in a new issue