in reply to Re: Anagrams & Letter Banks
in thread Anagrams & Letter Banks
Thank you, tybalt89. It's nice to see this regex solution as well as the hash solution offered earlier. I was just reading about backreferences, and again it makes sense to me in principle, but the details remain opaque. What do the parentheses in (.) accomplish? And how does the backreference determine if something has been seen again?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Anagrams & Letter Banks
by Cristoforo (Curate) on Oct 27, 2017 at 20:41 UTC | |
by dominick_t (Acolyte) on Oct 27, 2017 at 20:45 UTC | |
by dominick_t (Acolyte) on Oct 27, 2017 at 20:52 UTC | |
by Laurent_R (Canon) on Oct 27, 2017 at 21:50 UTC | |
by dominick_t (Acolyte) on Oct 27, 2017 at 21:55 UTC | |
|
In Section
Seekers of Perl Wisdom