in reply to Re: Weirdness (duplicated data) while building result during parsing using regex
in thread Weirdness (duplicated data) while building result during parsing using regex
Hi kcott,
Thanks for commenting and testing. I've corrected the sample output as per what you said, my bad. But as for the code for CSelTest.pm itself, it looks correct. My diff -wu output comparing the downloaded code and the file on my filesystem is empty. In case you need to download from another source, I also put it on github:
and (for comparison): CSelTest.pm-from-perlmonks.org
About the "use 5.020000" pragma, I added it to Data::CSel to exclude perl 5.18.4 or earlier because CPAN Testers reported weird failures that look related to the regex engine and are something that I don't want to deal with at the moment. As far as I know, the regex-related constructs that I use (including (?{CODE}), (?&NAME), $^N, $^R, etc) are all supposed to be supported by 5.010 and up.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Weirdness (duplicated data) while building result during parsing using regex [Part 2 of 2]
by kcott (Archbishop) on Sep 03, 2016 at 03:50 UTC | |
by Anonymous Monk on Sep 03, 2016 at 07:20 UTC | |
|
Re^3: Weirdness (duplicated data) while building result during parsing using regex [Part 1 of 2]
by kcott (Archbishop) on Sep 02, 2016 at 16:00 UTC |