09/01/28 14:53:04 vhv06Qiv0
リンク化されてないテキストをリンク化するフィルタを
書いたのですが採点お願いします。
[Patterns]
Name = "textlinker [2009/01/28]"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 5120
Match = "([>\r\n])\0([^<>()={}]++)\1(h t t p|f t p|ttp|tp|p)\2(s://|://)\3(["'\-_.!~*()a-zA-Z0-9;\/?:@&=+$,%#]+)\4($TST(\2=f*)$SET(5=ftp)|$SET(5=http))"
Replace = "\0\1<a href="\5\3\4" target="_blank">\5\3\4</a>"