2 * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_ACLREGEXDATA_H
10 #define SQUID_ACLREGEXDATA_H
18 class ACLRegexData
: public ACLData
<char const *>
20 MEMPROXY_CLASS(ACLRegexData
);
23 ~ACLRegexData() override
;
24 bool match(char const *user
) override
;
25 SBufList
dump() const override
;
26 void parse() override
;
27 bool empty() const override
;
30 /// whether parse() is called in a case insensitive context
31 static Acl::BooleanOptionValue CaseInsensitive_
;
34 const Acl::Options
&lineOptions() override
;
36 std::list
<RegexPattern
> data
;
39 #endif /* SQUID_ACLREGEXDATA_H */