Regular Expressions 101

Library entries

TYPO3 Log

Vote

0

Regular Expression
pcre

/
^(?<time>[^\[]+)\[(?<loglevel>[^\]]+)\]\s*request="(?<request>[[:xdigit:]]+)"\s*component="(?<component>[^"]+)"[[:punct:]]?[[:blank:]]*(?<message>.*)$
/
gm

Description

Loading markdown...
Submitted by Bodo Eichstädt - a year ago