Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
(?:::f{4,6}:)?(?P<host>\S+) -.* "GET \/w00tw00t.*
/

Description

A real fai2ban expression for w00tw00t with <HOST> alias substitution

Submitted by MarcD - 10 years ago