Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4746

Loading regex patterns from a file?

$
0
0

@Gurvan wrote:

Hi,

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?

Cheers,
Gurvan

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4746


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>