commit | 6634b63c7807dcda56e2abd86f6360f4043b9818 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 22 15:02:54 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 19 15:01:07 2017 +0200 |
tree | 5af7d53b644da8c23a786e339b5ba533d104d55f | |
parent | 7f564d2b60e169f7dd0b1d233ec3c41849296026 [diff] |
MINOR: buffer: add a function to match against string patterns In order to match known patterns in wrapping buffer, we'll introduce new string manipulation functions for buffers. The new function b_isteq() relies on an ist string for the pattern and compares it against any location in the buffer relative to <p>. The second function bi_eat() is specially designed to match input contents.