New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-word-boundary doesn't match EOS in 5.20 #13917
Comments
From @maukeWith 5.20: C:\>perl -v This is perl 5, version 20, subversion 0 (v5.20.0) built for MSWin32-x64-multi-thread ... C:\>perl -wE "q{} =~ /\B/ or die" With 5.10 / 5.12: I don't have 5.14/5.16/5.18 here to test. I think the 5.10/5.12 behavior is correct: beginning-of-string/end-of-string count as non-word-characters for \b and \B. The empty string "" has a non-word-boundary between beginning-of-string and end-of-string (both virtual \W). Was this an intentional change in 5.20? I've skimmed the perldeltas but haven't found anything related. |
From dennis@kaarsemaker.netOn do, 2014-06-12 at 08:27 -0700, via RT wrote:
It changed in 5.14: $ perl -v | grep subv -- |
The RT System itself - Status changed from 'new' to 'open' |
From @jkeenanOn Thu Jun 12 11:12:33 2014, dennis@kaarsemaker.net wrote:
Confirmed: ##### |
From @khwilliamsonOn 06/12/2014 04:41 PM, James E Keenan via RT wrote:
I bisected it to regex: Use BOUNDU regnodes This refactors one area in regexec.c to use BOUNDU, NBOUNDU for bisect run success |
From @khwilliamsonOn 06/12/2014 09:27 AM, l.mai@web.de (via RT) wrote:
Is this a distillation of a more complex example? If so, please give me |
From @ikegamiOn Wed, Jun 18, 2014 at 10:51 PM, Karl Williamson <public@khwilliamson.com>
$ perl -wE 'say "..." =~ s/\B/!/rg or die' I would expect $ perl -wE 'say "..." =~ s/(?<=\w)(?=\w)|(?<!\w)(?!\w)/!/rg or die' |
From Eirik-Berg.Hanssen@allverden.noOn Thu, Jun 19, 2014 at 3:47 PM, Eric Brine <ikegami@adaelis.com> wrote:
Huh. It does match, if part of an alternation, even with a eirik@greencat[19:24:16] Ah, yes; this was "for efficiency", right? The alternation probably Still, I figured I'd share, just in case it helps. For {the record,your information,fun}, I found this while playing around eirik@greencat[19:29:28] Eirik |
From @khwilliamsonThanks for finding this |
@khwilliamson - Status changed from 'open' to 'resolved' |
From @khwilliamsonReopening so I can change the resolution to what I should have made it to begin with: Pending release |
@khwilliamson - Status changed from 'resolved' to 'open' |
@khwilliamson - Status changed from 'open' to 'pending release' |
From @khwilliamsonThanks for submitting this ticket The issue should be resolved with the release today of Perl v5.22. If you find that the problem persists, feel free to reopen this ticket -- |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#122090 (status was 'resolved')
Searchable as RT122090$
The text was updated successfully, but these errors were encountered: