Subject: | Regexp::Debugger bug |
Date: | Mon, 3 Apr 2017 14:30:59 -0600 |
To: | bug-regexp-debugger [...] rt.cpan.org |
From: | Daina Pettit <dpettit [...] bluehost.com> |
I tried to submit a bug report on rt.cpan.org but it failed to record
the bug.
I've had trouble in the past year or so to get Regexp::Debugger to
work. Even with simple stuff it blows up.
I get a core dump with the following test case for rxrx:
*'fdas dfsa dfsa adfs sdfa fdsa asdf sdfa dfas sdfa fsda dfsa dfsa dfas
fdsa dsfa fdas dafs dfas'**
**/a/*
Like this:
substr outside of string at /usr/local/share/perl5/Regexp/Debugger.pm
line 2183, <> line 6.
Segmentation fault (core dumped)
For the much shorter match string *'a'* but the same RE I get
Use of uninitialized value $str_pos in subtraction (-) at
/usr/local/share/perl5/Regexp/Debugger.pm line 1775, <> line 4.
This is running
Regexp::Debugger 0.001022
Perl 5.10.1
CentOS 6.7 Linux
--
<http://bluehost.com/>
Daina Pettit | Senior Developer | 801.765.9400 x5704