[jQuery] replace string.prototype functions with jquery

[jQuery] replace string.prototype functions with jquery


i made a very simple jquery plugin that displays your twitter status.
http://tweet.seaofclouds.com/ naturally, there is much work to be done
in the way of optimizing this plugin. first off, i have a few search
and replace functions, which i would like to replace with the jquery
equivilent.
String.prototype.linktag = function() {
return this.replace(/[#]+[A-Za-z0-9-_]+/, function(t) {
var tag = t.replace("#","%23")
return t.link("http://summize.com/search?q="+tag);
});
};
any tips? tweet is on github if you'd like to contribute or keep up to
date. you can view the full source of the plugin at:
http://github.com/seaofclouds/tweet/tree/master%2Fjavascripts%2Fjquery.tweet.js?raw=true