]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: args: implement a new arg type for regex : ARGT_REG
authorWilly Tarreau <w@1wt.eu>
Mon, 19 Jan 2015 18:00:58 +0000 (19:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Jan 2015 13:24:53 +0000 (14:24 +0100)
commit469477879c815dd2123201f5958e112b2693fae0
treed30849f62708fb94b18180a582cfab56c0d1e254
parent085dafac5f399c970c1490d71be2a9dfa20b4366
MINOR: args: implement a new arg type for regex : ARGT_REG

This one will be used when a regex is expected. It is automatically
resolved after the parsing and compiled into a regex. Some optional
flags are supported in the type-specific flags that should be set by
the optional arg checker. One is used during the regex compilation :
ARGF_REG_ICASE to ignore case.
include/types/arg.h
src/arg.c
src/haproxy.c
src/sample.c