On Dec 16, 2006, at 7:44 PM, A. Pagaltzis wrote:
I could go on, getting in to the sorts of hate that Perl
enables - s;foo;bar; anyone?

That's annoying, but do you find the following pretty?

    s/^file:\/\/\/?//

Neither is acceptable.

It should be something like

        string.replace("^file:///?","");

Or maybe

    string replace: '^file:///?' with: ''.

Or even

        (ask string replace '"^file:///?" nil)

Reply via email to