in reply to Re^3: RegEx + vs. {1,}
in thread RegEx + vs. {1,}
But what should be returned if we have string 'abcabcabcdef' with same amount of three-chars-long and two-chars-long string? 'ab' or 'abc'? I assume OP wants the longer one.
In Section
Seekers of Perl Wisdom