> After a bit of fooling around I found that using an explicit \n
> instead of ^ fixes it.  Not the world's most idiomatic regex,
> but it'll do.  Will push the attached shortly.

I can also confirm this works as expected, although I feel my
suggested expression [0] is easier to understand, but I have no
strong opinion either way.

Regards,

--
Sami

[0] 
https://www.postgresql.org/message-id/CAA5RZ0tz-AibaxVF1NnNMcMEmwut%2Bkn%3Dk%3DxG2XmDN9d6kv2-%3Dg%40mail.gmail.com


Reply via email to