Closed GoogleCodeExporter closed 9 years ago
you mean when a url has a ? as part of the query string?
That seems to work when I test it:
Pattern: ((ht|f)tp(s?))\://([0-9a-zA-Z\-]+\.)+[a-zA-Z]{2,6}(\:[0-9]+)?(/\S*)?
Test: http://www.whatever.com/page.aspx?id=7
1 match found
I use http://regexlib.com/RETester.aspx to test the pattern.
Original comment by james.e....@gmail.com
on 16 Sep 2007 at 6:49
So it does, thanks.
The bug was in the Regex.Replace() call. I've replaced it with String.Replace
and all
is good.
Fixed for SVN revision 344.
Original comment by gavinjo...@gmail.com
on 16 Sep 2007 at 7:01
Original issue reported on code.google.com by
gavinjo...@gmail.com
on 16 Sep 2007 at 6:32