Date: Sun, 7 Apr 2002 22:48:00 -0400 (EDT) From: Dan Langille <dan@unixathome.org> To: hackers@freebsd.org Subject: php regex needed for PR numbers Message-ID: <20020407223844.U183-100000@laptop.unixathome.org>
next in thread | raw e-mail | index | archive | help
Hi folks, If you don't know it already, the new version of Freshports <http://www.FreshPorts.org/> is in beta testing at <http://test.freshports.org/>. One of the remaining items I'm looking for help with is the creation of hyperlinks from the log messages to the PR database. I'm hoping that someone can provide a bit of code I can use in PHP to convert lines like this: PR: 12345 PR: ports/1234 PR: 1234,5678 to lines which contain hyperlinks to the actual PR. The HREF isn't difficult, but I'm finding trouble with getting it working and working correctly. Our first attempts can be http://test.freshports.org/phorum/lists.php?f=1 under the thread titled "more PHP regex help wanted please". thanks. -- Dan Langille novice in training - http://www.freebsddiary.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407223844.U183-100000>