Regular Expressions 101

Library entries

Apache Log Format Parser

Vote

0

Regular Expression
python

"
(?P<host>[\d\.]+)\s(?P<identity>\S*)\s(?P<user>\S*)\s\[(?P<time>.*?)\]\s"(?P<request>.*?)"\s(?P<status>\d+)\s(?P<bytes>\S*)
"

Description

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