Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro
"sendmail, 4th Edition"
To do
that just list them following the -s with each separated from the next by a comma:
Kmatch regex -s2,3 -a.FOUND (\
|\)@(\|\).(\|\)
When multiple substrings are listed in this way, they are separated by the $| operator when
they are returned:
> test a@bob.com
test input: a @ bob . com
test returns: bob $| com . FOUND
23.7.21 sequence
Search a series of database maps V8.7 and later
The sequence type allows you to declare a single name that will be used to search a series of
databases. It is declared like this:
Kname sequence map1 map2 ...
Here, a key (in a later rule set) will be looked up first in the database map named map1, and
if not found there, it will be looked up in the database map named map2. The type of each
of the listed database maps should logically relate but need not be the same. Consider, for
example, a rule??™s RHS, where a lookup will match if the workspace contains either a user??™s
login name or the name of a host, with the hostname taking precedence:
Khosts host -a<+> /etc/hosts
Kpasswd user -a<-> /etc/passwd
Kboth sequence hosts passwd
R$- $: $(both $1 $)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
936 | Chapter 23: The K (Database-Map) Configuration Command
Here, we say that the database map named both is of type sequence.
Pages:
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654