mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
r72
рашен ссылки git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@72 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
4c616ae52f
commit
2862a44529
1 changed files with 3 additions and 2 deletions
|
@ -798,11 +798,12 @@ class bbcode
|
|||
(?<![\"'=])
|
||||
\b
|
||||
(
|
||||
https?://[\w\#$%&~/.\-;:=?@\[\]+]+
|
||||
(https?://|ftp://|www\.|ftp\.)
|
||||
[\w\#!$%&~/.\-;:=?@а-яА-Я\[\]+]+
|
||||
)
|
||||
(?![\"']|\[/url|\[/img|</a)
|
||||
(?=[,!]?\s|[\)<!])
|
||||
#xi";
|
||||
#xiu";
|
||||
|
||||
// pad it with a space so we can match things at the start of the 1st line.
|
||||
$ret = " $text ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue