[prev in list] [next in list] [prev in thread] [next in thread]
List: perl5-porters
Subject: Re: /(?<!st)/i is variable width - can we document this surprise better?
From: Sawyer X <xsawyerx () gmail ! com>
Date: 2017-10-31 16:24:34
Message-ID: 5e3e96e6-864b-52f1-c60a-9e97889f50c2 () gmail ! com
[Download RAW message or body]
On 10/28/2017 09:44 PM, Karl Williamson wrote:
> On 08/23/2017 07:57 AM, Abigail wrote:
>> On Wed, Jul 05, 2017 at 05:11:19PM -0600, Karl Williamson wrote:
>>>
>>> '/(?<![s]t)/i'
>>>
>>> does work.
>>
>> I don't think it does:
>>
>> $ perl -wE 'qr/(?<![s]t)/i'
>> Variable length lookbehind not implemented in regex m/(?<![s]t)/
>> at -e line 1. $
>>
>> This however does seem to work:
>> $ perl -wE 'qr/(?<![Ss]t)/i'
>> $
>>
>> which is a slight improvement over the suggestion of /(?<![Ss][Tt])/
>>
>
> Ok.
>
> I have pushed 754dd7544223a129a81fe68103efea600c63a5a6 which changes
> perldiag to give more detail, including this workaround. The patch is
> attached, for your convenience.
>
> Would changing perl518\ddelta be of any benefit?
I don't think so. They will not be rereleased.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic