This is a plugin for Pidgin that allows a user to create specify that certain strings will be hyperlinked. The hyperlink is handled by a user specified program.
The C source code is available here: patternlinks.c. It is released under the GPL, authored by Erigami Scholey-Fuller. For information on compiling, see the C plugin howto.