![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: Nonrepeating characters in an REby AnomalousMonk (Archbishop) |
on Aug 17, 2022 at 13:51 UTC ( #11146191=note: print w/replies, xml ) | Need Help?? |
What you and I and, it seems, everyone else are missing is a clear understanding of BernieC's requirements. What I understand (or imagine I understand) is that one must detect repetition only of a set of characters given in a "template" string. So if the template is 'abc', the string 'xxxabcxxx' has no repetition and the string 'aba' does. See Re^3: Nonrepeating characters in an RE (updated) and Re: Nonrepeating characters in an RE (updated) for my take on solutions to what I imagine BernieC's requirements to be. Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|