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

Re: Look-behind regex to

by erikharrison (Deacon)
on Mar 21, 2002 at 22:49 UTC ( #153453=note: print w/replies, xml ) Need Help??

in reply to Look-behind regex to

While you are working on this solution, it might be a good idea to remember that there are valid protocols (little used, yes) you might want to watch for - (gopher is the only one to spring to mind at the moment - I'd bet a *insert small amount of currency of choice here* that there are more)


Replies are listed 'Best First'.
URI protocols
by Kozz (Friar) on Mar 21, 2002 at 23:03 UTC
    Good point. My code above doesn't cover nearly all the possibilities: http, https, ftp, gopher, ssh, telnet, finger, news, irc, and so many that are far more obscure or rarely used these days. I will likely expand it to include these options, despite the fact 99.9% of the end-users of the system I'm building will never use those "non-www" protocols. ;)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://153453]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-01-21 09:36 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.