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:
Jon Siwek 2020-01-06 14:10:54 -08:00
commit d581aa76aa
8 changed files with 140 additions and 4 deletions

View 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