in reply to Re^3: Comparing Lines within a Word List
in thread Comparing Lines within a Word List
Thanks hippo, I will give this a shot. I'm reading the documentation on the /g modifier but do not see yet how this will work.
If the issue was that there were two a's in 'lama', what does it mean that when I ran the original code, 'aaron' successfully matched 'baron' as it should have? Guessing it's to do with the fact that in this latter case, the repeated instance of 'a' comes after rather than before the a/b swap position, unlike 'lama' and 'lamb'. How this plays into the regex though, I don't yet see.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Comparing Lines within a Word List
by graff (Chancellor) on Apr 30, 2016 at 15:27 UTC | |
Re^5: Comparing Lines within a Word List
by hippo (Bishop) on Apr 30, 2016 at 14:26 UTC | |
by dominick_t (Acolyte) on Apr 30, 2016 at 14:49 UTC | |
by hippo (Bishop) on Apr 30, 2016 at 15:16 UTC |
In Section
Seekers of Perl Wisdom