Project

General

Profile

Patch #4520 ยป 0004-url-matching.patch

Patch to match all possible protocols, yet breaking some other matches. - Christoph Rauch, 2010-01-05 15:21

View differences:

lib/redmine/wiki_formatting/textile/formatter.rb
^ # beginning of line
)
(
(?:https?://)| # protocol spec, or
(?:s?ftps?://)|
(?:\w+://)| # protocol spec, or
(?:www\.) # www.*
)
(
    (1-1/1)