From 317996cec8f2dc5f9c749d7b8beab2ec22f5831d Mon Sep 17 00:00:00 2001 From: Darold Gilles Date: Thu, 19 Mar 2015 13:40:49 +0100 Subject: [PATCH] Add geometric operators. Thanks to Rodolphe Quiedeville for the report. --- pgbadger | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pgbadger b/pgbadger index 56cd969..1a6dd58 100755 --- a/pgbadger +++ b/pgbadger @@ -10860,10 +10860,12 @@ sub build_log_line_prefix_regex my $re = qr{ ( - (?:--|\#)[\ \t\S]* # single line comments + (?:--)[\ \t\S]* # single line comments | (?:<>|<=>|>=|<=|==|=|!=|!|<<|>>|<|>|\|\||\||&&|&|-|\+|\*(?!/)|/(?!\*)|\%|~|\^|\?) # operators and tests + (?:\#|\@\-\@|\@\@|\#\#|<\->|\&<|\&>|<<\||\|>>|\&<\||\|\&>|<\^|>\^|\?\#|\?\-|\?\||\?\-\||\?\|\||\@>|<\@|\~=) + # Geometric Operators | [\[\]\(\),;.] # punctuation (parenthesis, comma) | -- 2.50.1