Skip Menu |
 

This queue is for tickets about the Regexp-Trie CPAN distribution.

Report information
The Basics
Id: 133091
Status: new
Priority: 0/
Queue: Regexp-Trie

People
Owner: Nobody in particular
Requestors: bmartin [...] mathworks.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Deep recursion warning in Regexp::Trie
Date: Fri, 31 Jul 2020 19:26:20 +0000
To: "bug-Regexp-Trie [...] rt.cpan.org" <bug-Regexp-Trie [...] rt.cpan.org>
From: Ben Martin <bmartin [...] mathworks.com>
Download (untitled) / with headers
text/plain 471b
Running Regexp::Trie can cause deep recursion for moderately large lists. I've found that after upgrading to a newer version of perl, I needed to add the "no warnings 'recursion'" here: for my $char (sort keys %$self){ my $qchar = quotemeta $char; if (ref $self->{$char}){ + no warnings 'recursion'; if (defined (my $recurse = _regexp($self->{$char}))){ push @alt, $qchar . $recurse; }else{


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.