commit | 0b2fe4a5cd8f694ce1d79682e96bfc861b0fcfbf | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Fri Dec 06 20:33:50 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 12 15:44:02 2013 +0100 |
tree | 321cefffd946f2699f2a0de23cb3ee4cf259ba5c | |
parent | 39e258fcee94f26fc29b732225decc418bfb930a [diff] |
MINOR: pattern: add support for compiling patterns for lookups With this patch, patterns can be compiled for two modes : - match - lookup The match mode is used for example in ACLs or maps. The lookup mode is used to lookup a key for pattern maintenance. For example, looking up a network is different from looking up one address belonging to this network. A special case is made for regex. In lookup mode they return the input regex string and do not compile the regex.