Re: simple golf for fun

[email protected] (Juho Snellman) 16 Jan 2007 22:51:42 +0200
Newsgroups perl.golf
Message-ID <[email protected]>
Phil Carmody <[email protected]> writes:
> -p0 s/^((.*)(.*)
> (?=\2.\3
> |$))*$//

Assuming the last line is also newline-terminated:

-n0 a//^((.*)(.*
)(?=\2.\3|$))*$/

-- 
Juho Snellman