http://www.perlmonks.org?node_id=635671


in reply to Re: regexp to match repeated charater
in thread regexp to match repeated charater

Your first sentence confused me. The "spaceship" operator is <=> (numeric comparison operator). I couldn't figure out what you were going to do with that. Then, after glancing at the code, reading your note at the bottom, wondering "What do you mean, there really isn't a spaceship operaton?", looking back at the code more closely, I saw you meant =()= to be the "spaceship" operator. Same name, different usage.

Ivan Heffner
Sr. Software Engineer
WhitePages.com, Inc.

Replies are listed 'Best First'.
Re^3: regexp to match repeated charater
by grinder (Bishop) on Aug 29, 2007 at 08:52 UTC

    Oops. You are quite right. I did of course mean the infamous goats.cx operator. I leave it to your imagination to figure out why =()= was so named. I shall amend the parent node accordingly. Thanks.

    • another intruder with the mooring in the heart of the Perl