For flexibility reasons I would like to switch from base_sub to base_reg in a line like this :
current : acl blacklist_a base_sub -i -f /some/dir/blacklisted_urls
idea : acl blacklist_a base_reg -i -f /some/dir/blacklisted_urls
Lines can be read from the file even with base_reg, but they are only interpreted as strings (., +, ?, *, + not interpreted at all), so in effect it is exactly like base_sub.
I have tried to find some examples but could not find a single “base_reg (-i)? -f”.
Is it possible to load one or several regex patterns from a file?