$ perl -wE 'while (<>) { my ($x) = $_ =~ /(https?:\S+?).?\s/; say $x; }' Bug found in the build. Please check check https://web.com/fluent/x/JIOUAQ for more details. https://web.com/fluent/x/JIOUA