Regular Expressions 101

Library entries

fail2ban-php404

Vote

0

Regular Expression
python

"
^(?P<ip>.*?) - - \[(?P<date>.*?)(?= ) (?P<timezone>.*?)\] \"(?P<request_method>.*?) (?P<path>.*\.php.*?)(?P<request_version> HTTP/.*)?\" (?P<status>(301|404)?) (?P<length>.*?) \"(?P<referrer>.*?)\" \"(?P<user_agent>.*?)\"$
"
g

Description

Loading markdown...
Submitted by anonymous - 3 years ago