Re: cleaning perl code - Mailing list pgsql-hackers

From Hamlin, Garick L
Subject Re: cleaning perl code
Date
Msg-id 20200416142052.zqtgtiubaf6fycn2@isc.upenn.edu
Whole thread Raw
In response to Re: cleaning perl code  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Responses Re: cleaning perl code  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Re: cleaning perl code  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Thu, Apr 16, 2020 at 08:50:35AM -0400, Andrew Dunstan wrote:
>
> It would also be more robust using non-greedy matching:

This seems more important.
I don't know how/where this is being used, but if it has input like:

/* one */
something;
/* two */

With the old expression 'something;' would be stripped away.
Is that an issue where this this is used?  Why are we parsing
these headers?

Garick


pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: Autovacuum on partitioned table (autoanalyze)
Next
From: Andrew Dunstan
Date:
Subject: Re: cleaning perl code