Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: URLs in plain text

by Purdy (Hermit)
on Nov 11, 2003 at 16:34 UTC ( #306248=note: print w/replies, xml ) Need Help??


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? ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://306248]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2019-11-22 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (110 votes). Check out past polls.

    Notices?