mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00

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
19 lines
358 B
Text
19 lines
358 B
Text
/^?(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
|