Expr: Implement string in table[pattern] of X

Not sure how useful this is (and the implementation isn't optimized in
any way), but seems reasonable for consistency.

Vern suggested that set[pattern] can already be achieved via
set_to_regex(), so left out any set[pattern] variants.
This commit is contained in:
Arne Welzel 2023-11-01 17:27:47 +01:00
parent 9ae99cdc44
commit c72d4a4427
5 changed files with 42 additions and 3 deletions

View file

@ -4,3 +4,5 @@ populate_a()
gotcha a, [42]
populate_b()
gotcha b, [4242]
populate_c()
gotcha c, [4711]