-
Notifications
You must be signed in to change notification settings - Fork 555
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
Quantifiers in (?(DEFINE)...) #16106
Comments
From @AbigailCreated by @AbigailConsider this pattern: my $pat = qr { This matches a string of digits, and Perl doesn't complain. Now, let's make a small change; instead of trying to match my $pat = qr { This pattern works, but a warning is issued: Quantifier unexpected on zero-length expression in regex m/ The same happens if we replace {4} with {4,4} or {2,4}, and disappears This problem is still present in blead. Perl Info
|
From @demerphqCreated by @AbigailConsider this pattern: my $pat = qr { This matches a string of digits, and Perl doesn't complain. Now, let's make a small change; instead of trying to match my $pat = qr { This pattern works, but a warning is issued: Quantifier unexpected on zero-length expression in regex m/ The same happens if we replace {4} with {4,4} or {2,4}, and disappears This problem is still present in blead. It would be helpful to know if this is new behaviour or not. Something Yves Perl Info
|
The RT System itself - Status changed from 'new' to 'open' |
From @AbigailOn Sat, Aug 19, 2017 at 02:58:23PM -0700, yves orton via RT wrote:
It warns for me in 5.22.0, but not in 5.20.0 Abigail |
From @iabynOn Sun, Aug 20, 2017 at 10:16:16PM +0200, Abigail wrote:
Bisects to: a51d618 is the first bad commit rt 122283 - do not recurse into GOSUB/GOSTART when not SCF_DO_SUBSTR -- |
From @demerphqOn 11 September 2017 at 09:17, Dave Mitchell <davem@iabyn.com> wrote:
Fixed in 0e3f444 Thanks for the report. Feel like writing a test? ;-) Yves -- |
From @AbigailOn Wed, Sep 13, 2017 at 06:05:43PM +0200, demerphq wrote:
Thanks for the patch. Test added in commit Abigail |
From @demerphqThank you! Cheers, yves On 14 Sep 2017 00:21, "Abigail" <abigail@abigail.be> wrote:
|
Migrated from rt.perl.org#131868 (status was 'open')
Searchable as RT131868$
The text was updated successfully, but these errors were encountered: