Subj : URL encoding To : Deuce From : Angus Mcleod Date : Sun Dec 05 2004 09:16 pm Re: URL encoding By: Deuce to Angus Mcleod on Sun Dec 05 2004 15:17:00 > You may be interested in looking at the URI RFC... it includes a regex for > splitting up a URI and mentions which bits need which chars encoded. Thanks -- I'll check it out. > Uh... 2396 it is... it contains this gem: > ^(([^:/?#]+):)?(//([^/?#)*))?([^?#]*)(\?([^#]*))?(#(.*))? Okay... > Whee! I don't know about you, but I'm always pleased to find I can read stuff like that. But they should *really* tell you what exact list-assignment follows! Save me counting all those brackets myself. Or update the RE to include (?:...) clustering without capture. Right now it looks like @bitz = ($2, $4, $5, $7, $9); but i'd have to test that to be sure it's right...... --- þ Synchronet þ Linus is a regular at The ANJO BBS. No, Linus Brathwaite! .