Regular Expressions 101

Library entries

logpush regex

Vote

0

Regular Expression
python

"
^(?:(?P<prefix>.+)\/)?(?P<date>\d{8})/(?P<start_time>\d{8}T\d{6}Z)_(?P<end_time>\d{8}T\d{6}Z)_(?P<random_string>.+)\.log\.gz$
"
gm

Description

Loading markdown...
Submitted by anonymous - a year ago