commit | 15a53a43846e25c99e37f210ec84349d3ea1c64d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jan 21 13:39:42 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 22 14:24:53 2015 +0100 |
tree | 5f599ec77f0aba9fa424e1b3158c4c39c1298bc3 | |
parent | 469477879c815dd2123201f5958e112b2693fae0 [diff] |
MEDIUM: regex: add support for passing regex flags to regex_exec_match() This function (and its sister regex_exec_match2()) abstract the regex execution but make it impossible to pass flags to the regex engine. Currently we don't use them but we'll need to support REG_NOTBOL soon (to indicate that we're not at the beginning of a line). So let's add support for this flag and update the API accordingly.