4
responses

$message =~ /(?<timestamp>\d+\/\d+\.\d+ )/s;
$ts=$timestamp;
$ts2=$1;

$ts2 has the right info, $ts=""

version nxlog-ce-2.10.2150

AskedNovember 13, 2019 - 8:31pm

Answer (1)

David,

$1 contains what is captured between parenthesis.

Comments (3)

  • dlang's picture

    is there a document somewhere that shows the difference between CE and EE? the most I've been able to find is a nebulous 'it includes additional features' statement