danf: curl-www/docs faqparse.pl,1.9,1.10

[email protected] Tue, 07 Sep 2010 19:46:10 +0000
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/docs
In directory giant.haxx.se:/var/tmp/cvs-serv19416

Modified Files:
	faqparse.pl 
Log Message:
Tweaked the link regex to fix up a couple of links in the FAQ


Index: faqparse.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/docs/faqparse.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- faqparse.pl	4 Feb 2009 22:29:42 -0000	1.9
+++ faqparse.pl	7 Sep 2010 19:46:08 -0000	1.10
@@ -113,7 +113,7 @@
                     print "</pre>\n";
                     undef @pre;
                 }
-                s/((http|ftp):\/\/([a-z0-9.\/_%-?]*[a-z\/]))/<a href=\"$2:\/\/$3\">$1<\/a>/g;
+                s/((http|ftp):\/\/([\w.\/%-?]*[a-z0-9\/]))/<a href=\"$2:\/\/$3\">$1<\/a>/g;
                 
                 # prevent many blanks
                 my $show = $_;