Don't ask to ask, just ask | |
PerlMonks |
Re^2: Weirdness (duplicated data) while building result during parsing using regexby perlancar (Hermit) |
on Sep 02, 2016 at 10:09 UTC ( [id://1171040]=note: print w/replies, xml ) | Need Help?? |
Thanks for the suggestion, I indeed forgot to try "print"-debugging at every step. Apparently there's a backtracking involved in the case of [attr() eq 1] but not in the case of [attr()=1]. I should've been suspicious of backtracking whenever some kind of "duplication" happens. Will debug this further.
In Section
Seekers of Perl Wisdom
|
|