in reply to TOOWTDI (There's Only One Way To Do It)
update: blech, actually in theory it wouldn't work since i'm not using a zero-width assertion for remainder of the matched strings, but it's still interesting that it segfaults Perl.(sort{length$b<=>length$a}pop=~/.*(?(?{$&=~'(.).*\1'})^)/gs)[0]
MeowChow s aamecha.s a..a\u$&owag.print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: TOOWTDI (There's Only One Way To Do It)
by japhy (Canon) on Jun 06, 2001 at 01:05 UTC |