[rt-devel] RT 2.0.9pre7
Jesse
jesse at fsck.com
Fri Nov 9 18:21:29 EST 2001
Only a very very tiny change from pre6. slightly better url regexp.
though this looks like it may lose on mailto: urls.. That may make it in for
-final
- $content =~ s!((?:http|https|ftp|mailto)://[^\s\"\'/]+[^\s():\"\'/]+)(<??)!<A HREF=\"$1\">$1</A>$2!g;
+ $content =~ s!((?:http|https|ftp|mailto)://\S*?)([\s"']|<)!<A HREF=\"$1\">$1</A>$2!g;
--
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
Transporters are so ungodly. if god had wanted us to travel great distances
instantaneously, he would have given us an internal
materialisation/dematerialisation control.
-- Shoshe Cole
More information about the Rt-devel
mailing list