in reply to Re: Re (tilly) 1: Replace all at once
in thread Replace all at once

Why didn't you orcish the sort { length($b) <=> length ($a) }?

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re: Re: Re: Re (tilly) 1: Replace all at once
by japhy (Canon) on Dec 10, 2001 at 19:39 UTC
    I was considering doing optimizations, but I didn't want to cloud the meaning. I'm going to do a reverse-sort now, anyways.

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;