]> git.ipfire.org Git - thirdparty/squid.git/commit - src/base/CharacterSet.h
Added CharacterSet::complement() to create "all except those in that set" sets
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 7 Aug 2014 17:20:27 +0000 (11:20 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 7 Aug 2014 17:20:27 +0000 (11:20 -0600)
commitb5cb2dbfed944c2d82ba10858a1d41b30ca5d4ee
tree76c99cea70bca2f16f0d92de64425bb70c345088
parent37cf7314a03bd6ee05fbd0b89e16d563e8dc6769
Added CharacterSet::complement() to create "all except those in that set" sets
handy for parsing (e.g., "get all characters until the end of line").

Added CharacterSet::rename() to label sets. Handy in const declarations that
use expressions. For example: const CharacterSet AB = (A+B).renamed("AB").
src/base/CharacterSet.cc
src/base/CharacterSet.h