in reply to Substitute _last_ occurence in string?

I'm glad people took the sexeger approach, for which this is an excellent example. Other approaches, like: suffer from things like slowness and too much backtracking.

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

  • Comment on Re: Substitute _last_ occurence in string?