in reply to Re: URLs in plain text
in thread URLs in plain text

Oh, my bleeding eyes!! ;) Perhaps an entry for some Obfuscation - lots of nested lookaheads and that's where I got lost.

$RE{'URI'} for me!

Replies are listed 'Best First'.
Re: URLs in plain text
by Abigail-II (Bishop) on Nov 11, 2003 at 16:56 UTC
    There shouldn't be any lookaheads in that regexp.

    Abigail

      Oh ... you're right, of course. In my limited regexp experience (not that I don't use regexps a lot, but when I do, they're usually very simple things), I used the (?!pattern) as a way to tell if the src attribute values in IMG tags started with http:// or not, so I could do some relative path stuff if necessary. In that experience, I labelled anything that started with (?...) as a lookahead.

      Peace,

      Jason

      PS: Nested clustering, then? ;)