in reply to Re: Comparing Lines within a Word List
in thread Comparing Lines within a Word List
I was able to run this code with my long word list. It appears to not be grabbing some matches that I need, but I do not know enough about regular expressions to be able to fix it. For example, when I run the code looking for a/b swap matches, 'lama' and 'lamb' should be a match but it is not showing up as such. I'm guessing it's to do with the fact that 'lama' has two a's? Is it possible to easily amend this code to handle this case?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Comparing Lines within a Word List
by hippo (Bishop) on Apr 30, 2016 at 10:04 UTC | |
by dominick_t (Acolyte) on Apr 30, 2016 at 14:06 UTC | |
by graff (Chancellor) on Apr 30, 2016 at 15:27 UTC | |
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