Front page | perl.perl5.porters |
Postings from June 2016
Re: Indented here docs?
Thread Previous
|
Thread Next
From:
Andreas Koenig
Date:
June 30, 2016 16:57
Subject:
Re: Indented here docs?
Message ID:
878txmr4wz.fsf@k85.linux.bogus
>>>>> On Thu, 30 Jun 2016 09:42:32 -0400, "Matthew Horsfall (alh)" <wolfsage@gmail.com> said:
> As I've implemented it, the closing delimiter must match:
> /^\s+$delim\n/
> So that $delim can exist anywhere in the text (excepting where it closes).
> What am I missing? Can we do this?
I think I have also wanted this several times, thanks much.
Bikeshedding: my use case would require /^\s*$delim\n/ instead, because
I want my program to survive both in-denting and out-denting to the left
margin.
--
andreas
Thread Previous
|
Thread Next